aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2022-05-16 07:42:58 -0700
committerGitHub <noreply@github.com>2022-05-16 07:42:58 -0700
commit72e7dcde51d148494c2dcb734565f6681dba27fd (patch)
tree44a1313fbd86fd9662d90b25092f1be698bca979 /weed/command
parenta84f4eefc23e1d9841908ba717d0606e414014ea (diff)
parentb72f0634d7d7d736cee96477852a8d36e89ac1cb (diff)
downloadseaweedfs-72e7dcde51d148494c2dcb734565f6681dba27fd.tar.xz
seaweedfs-72e7dcde51d148494c2dcb734565f6681dba27fd.zip
Merge pull request #3060 from natmaka/master
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/autocomplete.go6
-rw-r--r--weed/command/benchmark.go6
2 files changed, 6 insertions, 6 deletions
diff --git a/weed/command/autocomplete.go b/weed/command/autocomplete.go
index 9a545a183..955ce4006 100644
--- a/weed/command/autocomplete.go
+++ b/weed/command/autocomplete.go
@@ -41,7 +41,7 @@ func AutocompleteMain(commands []*Command) bool {
func installAutoCompletion() bool {
if runtime.GOOS == "windows" {
- fmt.Println("windows is not supported")
+ fmt.Println("Windows is not supported")
return false
}
@@ -56,7 +56,7 @@ func installAutoCompletion() bool {
func uninstallAutoCompletion() bool {
if runtime.GOOS == "windows" {
- fmt.Println("windows is not supported")
+ fmt.Println("Windows is not supported")
return false
}
@@ -65,7 +65,7 @@ func uninstallAutoCompletion() bool {
fmt.Printf("uninstall failed! %s\n", err)
return false
}
- fmt.Printf("autocompletion is disable. Please restart your shell.\n")
+ fmt.Printf("autocompletion is disabled. Please restart your shell.\n")
return true
}
diff --git a/weed/command/benchmark.go b/weed/command/benchmark.go
index 82821f579..9f18cc5b9 100644
--- a/weed/command/benchmark.go
+++ b/weed/command/benchmark.go
@@ -74,14 +74,14 @@ func init() {
var cmdBenchmark = &Command{
UsageLine: "benchmark -master=localhost:9333 -c=10 -n=100000",
- Short: "benchmark on writing millions of files and read out",
+ Short: "benchmark by writing millions of files and reading them out",
Long: `benchmark on an empty SeaweedFS file system.
Two tests during benchmark:
1) write lots of small files to the system
2) read the files out
- The file content is mostly zero, but no compression is done.
+ The file content is mostly zeros, but no compression is done.
You can choose to only benchmark read or write.
During write, the list of uploaded file ids is stored in "-list" specified file.
@@ -468,7 +468,7 @@ func (s *stats) printStats() {
timeTaken := float64(int64(s.end.Sub(s.start))) / 1000000000
fmt.Printf("\nConcurrency Level: %d\n", *b.concurrency)
fmt.Printf("Time taken for tests: %.3f seconds\n", timeTaken)
- fmt.Printf("Complete requests: %d\n", completed)
+ fmt.Printf("Completed requests: %d\n", completed)
fmt.Printf("Failed requests: %d\n", failed)
fmt.Printf("Total transferred: %d bytes\n", transferred)
fmt.Printf("Requests per second: %.2f [#/sec]\n", float64(completed)/timeTaken)