diff options
Diffstat (limited to 'weed/command/autocomplete.go')
| -rw-r--r-- | weed/command/autocomplete.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/command/autocomplete.go b/weed/command/autocomplete.go index b98c16cf3..9a545a183 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.Printf("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.Printf("windows is not supported") + fmt.Println("windows is not supported") return false } @@ -91,7 +91,7 @@ func runAutocomplete(cmd *Command, args []string) bool { var cmdUnautocomplete = &Command{ Run: runUnautocomplete, - UsageLine: "unautocomplete", + UsageLine: "autocomplete.uninstall", Short: "uninstall autocomplete", Long: `weed autocomplete is uninstalled in the shell. |
