git-svn-id: https://weed-fs.googlecode.com/svn/trunk@57 282b0af5-e82d-9cf1-ede4-77906d7719d0

This commit is contained in:
chris.lu@gmail.com 2012-07-17 05:07:19 +00:00
parent 577bbcb2e3
commit 2af8c354a7

View file

@ -106,6 +106,8 @@ func submit(files []string)([]SubmitResult) {
func main() {
flag.Parse()
if len(flag.Args()) == 0 {
fmt.Fprintln(os.Stderr, "Submit one file or multiple version of the same file.")
fmt.Fprintf(os.Stderr, "Usage: %s -server=<host>:<port> file1 [file2 file3 ...]\n", os.Args[0])
flag.Usage()
return
}