git-svn-id: https://weed-fs.googlecode.com/svn/trunk@57 282b0af5-e82d-9cf1-ede4-77906d7719d0
This commit is contained in:
@@ -106,6 +106,8 @@ func submit(files []string)([]SubmitResult) {
|
|||||||
func main() {
|
func main() {
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
if len(flag.Args()) == 0 {
|
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()
|
flag.Usage()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user