aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Russell <ryanrussell@users.noreply.github.com>2022-09-14 11:13:59 -0500
committerGitHub <noreply@github.com>2022-09-14 09:13:59 -0700
commitb6a1b84a00186c3e1b30bc3f2717fc7005daca62 (patch)
tree53045e4fa9bd1eb62e3cf1e0cd004a37706a2ad8
parent6d2000e8dad0d8c2adb67cf1e48d9625f9b22eff (diff)
downloadseaweedfs-b6a1b84a00186c3e1b30bc3f2717fc7005daca62.tar.xz
seaweedfs-b6a1b84a00186c3e1b30bc3f2717fc7005daca62.zip
docs: `orignial` -> `original` (#3661)
-rw-r--r--weed/command/update.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/update.go b/weed/command/update.go
index 30b15cc99..447a39953 100644
--- a/weed/command/update.go
+++ b/weed/command/update.go
@@ -69,7 +69,7 @@ func init() {
path, _ := os.Executable()
_, name := filepath.Split(path)
updateOpt.dir = cmdUpdate.Flag.String("dir", filepath.Dir(path), "directory to save new weed.")
- updateOpt.name = cmdUpdate.Flag.String("name", name, "name of new weed. On windows, name shouldn't be same to the orignial name.")
+ updateOpt.name = cmdUpdate.Flag.String("name", name, "name of new weed. On windows, name shouldn't be same to the original name.")
updateOpt.Version = cmdUpdate.Flag.String("version", "0", "specific version of weed you want to download. If not specified, get the latest version.")
cmdUpdate.Run = runUpdate
}
@@ -101,7 +101,7 @@ func runUpdate(cmd *Command, args []string) bool {
if runtime.GOOS == "windows" {
if target == path {
- glog.Fatalf("On windows, name of the new weed shouldn't be same to the orignial name.")
+ glog.Fatalf("On windows, name of the new weed shouldn't be same to the original name.")
return false
}
}