diff --git a/weed-fs/src/cmd/weedclient/weedclient.go b/weed-fs/src/cmd/weedclient/weedclient.go index 266b9ef12..b6b93e41e 100644 --- a/weed-fs/src/cmd/weedclient/weedclient.go +++ b/weed-fs/src/cmd/weedclient/weedclient.go @@ -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=: file1 [file2 file3 ...]\n", os.Args[0]) flag.Usage() return }