summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Porter <FreedomBen@users.noreply.github.com>2020-11-20 14:30:20 -0700
committerBenjamin Porter <FreedomBen@users.noreply.github.com>2020-11-20 14:33:29 -0700
commit64dd15e53f3fd58427f6666d5de88165cf0bc634 (patch)
tree5c96af3476cae0c38372ff034af02d6103aeea94
parentb4b4fa07a97560085bfedbf0498a9301eb815435 (diff)
downloadpodman-64dd15e53f3fd58427f6666d5de88165cf0bc634.tar.gz
podman-64dd15e53f3fd58427f6666d5de88165cf0bc634.tar.bz2
podman-64dd15e53f3fd58427f6666d5de88165cf0bc634.zip
Specify what the replace flag replaces in help text
The word "name" appears to have been missed in the help output for: podman pod create --help This patch fixes that Signed-off-by: Benjamin Porter <FreedomBen@users.noreply.github.com>
-rw-r--r--cmd/podman/pods/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/pods/create.go b/cmd/podman/pods/create.go
index 449d60bb9..d997ea344 100644
--- a/cmd/podman/pods/create.go
+++ b/cmd/podman/pods/create.go
@@ -94,7 +94,7 @@ func init() {
flags.StringVar(&podIDFile, podIDFileFlagName, "", "Write the pod ID to the file")
_ = createCommand.RegisterFlagCompletionFunc(podIDFileFlagName, completion.AutocompleteDefault)
- flags.BoolVar(&replace, "replace", false, "If a pod with the same exists, replace it")
+ flags.BoolVar(&replace, "replace", false, "If a pod with the same name exists, replace it")
shareFlagName := "share"
flags.StringVar(&share, shareFlagName, specgen.DefaultKernelNamespaces, "A comma delimited list of kernel namespaces the pod will share")