summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-05 09:54:19 +0100
committerGitHub <noreply@github.com>2021-11-05 09:54:19 +0100
commit9b3b44903d4d494186bd767d2ea5f3b2c753a7f2 (patch)
tree98ece59b9fab3ec9235cb4ac66de9d90444b7638
parent28bbd146853166463c060fa93714330fe63e1040 (diff)
parentb85e3764ac9e0da112c30f4ef393a09a2206ba97 (diff)
downloadpodman-9b3b44903d4d494186bd767d2ea5f3b2c753a7f2.tar.gz
podman-9b3b44903d4d494186bd767d2ea5f3b2c753a7f2.tar.bz2
podman-9b3b44903d4d494186bd767d2ea5f3b2c753a7f2.zip
Merge pull request #12180 from nalind/whitespace
[CI:DOCS] tweak a couple of flag descriptions in help output
-rw-r--r--cmd/podman/common/create.go2
-rw-r--r--cmd/podman/images/pull.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/common/create.go b/cmd/podman/common/create.go
index fbc8fb8ab..4598e535d 100644
--- a/cmd/podman/common/create.go
+++ b/cmd/podman/common/create.go
@@ -410,7 +410,7 @@ func DefineCreateFlags(cmd *cobra.Command, cf *entities.ContainerCreateOptions,
createFlags.StringVar(
&cf.Variant,
variantFlagName, "",
- "Use _VARIANT_ instead of the running architecture variant for choosing images",
+ "Use `VARIANT` instead of the running architecture variant for choosing images",
)
_ = cmd.RegisterFlagCompletionFunc(variantFlagName, completion.AutocompleteNone)
diff --git a/cmd/podman/images/pull.go b/cmd/podman/images/pull.go
index a4e3515db..a990d1626 100644
--- a/cmd/podman/images/pull.go
+++ b/cmd/podman/images/pull.go
@@ -92,7 +92,7 @@ func pullFlags(cmd *cobra.Command) {
_ = cmd.RegisterFlagCompletionFunc(osFlagName, completion.AutocompleteOS)
variantFlagName := "variant"
- flags.StringVar(&pullOptions.Variant, variantFlagName, "", " use VARIANT instead of the running architecture variant for choosing images")
+ flags.StringVar(&pullOptions.Variant, variantFlagName, "", "Use VARIANT instead of the running architecture variant for choosing images")
_ = cmd.RegisterFlagCompletionFunc(variantFlagName, completion.AutocompleteNone)
platformFlagName := "platform"