diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-04-22 06:56:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-22 06:56:33 -0400 |
commit | 0d6af1438710acc03ef9e7395e1bc8ecf46f4294 (patch) | |
tree | 14341c3d033e132c426c14cd2cf2f5618d4ec044 /cmd/podman/machine/set.go | |
parent | 1fcefc94f9e3e6d9dedeccc83fa3964461519b7f (diff) | |
parent | cc3790f332d989440eb1720e24e3619fc97c74ee (diff) | |
download | podman-0d6af1438710acc03ef9e7395e1bc8ecf46f4294.tar.gz podman-0d6af1438710acc03ef9e7395e1bc8ecf46f4294.tar.bz2 podman-0d6af1438710acc03ef9e7395e1bc8ecf46f4294.zip |
Merge pull request #13964 from rhatdan/rootfull
Switch all rootful to rootfull
Diffstat (limited to 'cmd/podman/machine/set.go')
-rw-r--r-- | cmd/podman/machine/set.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cmd/podman/machine/set.go b/cmd/podman/machine/set.go index 4c15f1de1..b1dfb51da 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 --rootful=false`, + Example: `podman machine set --rootfull=false`, ValidArgsFunction: completion.AutocompleteNone, } ) @@ -33,8 +33,9 @@ func init() { }) flags := setCmd.Flags() - rootfulFlagName := "rootful" - flags.BoolVar(&setOpts.Rootful, rootfulFlagName, false, "Whether this machine should prefer rootful container execution") + rootfullFlagName := "rootfull" + flags.BoolVar(&setOpts.Rootfull, rootfullFlagName, false, "Whether this machine should prefer rootfull container execution") + flags.SetNormalizeFunc(aliasFlags) } func setMachine(cmd *cobra.Command, args []string) error { |