diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-04-25 13:37:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-25 13:37:59 -0400 |
commit | a775e77cba3be5ec77738787f4346ff7e1d24462 (patch) | |
tree | f50573eb3d9c42aa89a93b0a15298a0909fb38fe /cmd/podman/machine/set.go | |
parent | 9784d97bd6cef590de781575992f7a685ab1c2c2 (diff) | |
parent | a615cb2fe22dbfb3ec0acc0e60d8f849301c3aac (diff) | |
download | podman-a775e77cba3be5ec77738787f4346ff7e1d24462.tar.gz podman-a775e77cba3be5ec77738787f4346ff7e1d24462.tar.bz2 podman-a775e77cba3be5ec77738787f4346ff7e1d24462.zip |
Merge pull request #13995 from ashley-cui/revrootful
Rootfull -> Rootful
Diffstat (limited to 'cmd/podman/machine/set.go')
-rw-r--r-- | cmd/podman/machine/set.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cmd/podman/machine/set.go b/cmd/podman/machine/set.go index b1dfb51da..4c15f1de1 100644 --- a/cmd/podman/machine/set.go +++ b/cmd/podman/machine/set.go @@ -17,7 +17,7 @@ var ( Long: "Sets an updatable virtual machine setting", RunE: setMachine, Args: cobra.MaximumNArgs(1), - Example: `podman machine set --rootfull=false`, + Example: `podman machine set --rootful=false`, ValidArgsFunction: completion.AutocompleteNone, } ) @@ -33,9 +33,8 @@ func init() { }) flags := setCmd.Flags() - rootfullFlagName := "rootfull" - flags.BoolVar(&setOpts.Rootfull, rootfullFlagName, false, "Whether this machine should prefer rootfull container execution") - flags.SetNormalizeFunc(aliasFlags) + rootfulFlagName := "rootful" + flags.BoolVar(&setOpts.Rootful, rootfulFlagName, false, "Whether this machine should prefer rootful container execution") } func setMachine(cmd *cobra.Command, args []string) error { |