|
|
@ -23,7 +23,7 @@ var ( |
|
|
|
func init() { |
|
|
|
cmdUpload.Run = runUpload // break init cycle
|
|
|
|
cmdUpload.IsDebug = cmdUpload.Flag.Bool("debug", false, "verbose debug information") |
|
|
|
server = cmdUpload.Flag.String("server", "localhost:9333", "weedfs master location") |
|
|
|
server = cmdUpload.Flag.String("server", "localhost:9333", "SeaweedFS master location") |
|
|
|
uploadDir = cmdUpload.Flag.String("dir", "", "Upload the whole folder recursively if specified.") |
|
|
|
include = cmdUpload.Flag.String("include", "", "pattens of files to upload, e.g., *.pdf, *.html, ab?d.txt, works together with -dir") |
|
|
|
uploadReplication = cmdUpload.Flag.String("replication", "", "replication type") |
|
|
|