From 86e80aa9a0fd519a443d23baa2bc0829ab6714d5 Mon Sep 17 00:00:00 2001 From: "Stuart P. Bentley" Date: Thu, 16 Apr 2015 21:45:07 +0000 Subject: [PATCH] Fix a couple more weedfs -> SeaweedFS instances Apparently I forgot to save these files before submitting #121 --- go/weed/download.go | 4 ++-- go/weed/upload.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go/weed/download.go b/go/weed/download.go index d1d2a2e99..f08d64674 100644 --- a/go/weed/download.go +++ b/go/weed/download.go @@ -20,7 +20,7 @@ var ( func init() { cmdDownload.Run = runDownload // break init cycle cmdDownload.IsDebug = cmdDownload.Flag.Bool("debug", false, "verbose debug information") - server = cmdDownload.Flag.String("server", "localhost:9333", "weedfs master location") + server = cmdDownload.Flag.String("server", "localhost:9333", "SeaweedFS master location") downloadDir = cmdDownload.Flag.String("dir", ".", "Download the whole folder recursively if specified.") } @@ -28,7 +28,7 @@ var cmdDownload = &Command{ UsageLine: "download -server=localhost:9333 -dir=one_directory fid1 [fid2 fid3 ...]", Short: "download files by file id", Long: `download files by file id. - + Usually you just need to use curl to lookup the file's volume server, and then download them directly. This download tool combine the two steps into one. diff --git a/go/weed/upload.go b/go/weed/upload.go index 20adac88d..0a6fc9ddf 100644 --- a/go/weed/upload.go +++ b/go/weed/upload.go @@ -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")