From 2af8c354a79ba90eeaf72a56c7c7a6c922c08858 Mon Sep 17 00:00:00 2001 From: "chris.lu@gmail.com" Date: Tue, 17 Jul 2012 05:07:19 +0000 Subject: [PATCH] git-svn-id: https://weed-fs.googlecode.com/svn/trunk@57 282b0af5-e82d-9cf1-ede4-77906d7719d0 --- weed-fs/src/cmd/weedclient/weedclient.go | 2 ++ 1 file changed, 2 insertions(+) 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 }