mirror of
https://github.com/containers/podman.git
synced 2025-12-10 07:42:12 +08:00
Don't show global flags except for podman command
Subcommands should not be showing the global flags. This causes the important information to scroll off the screen. Also fixed a typo on runCommmand (Too many 'm's) Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@@ -35,6 +35,7 @@ var (
|
||||
|
||||
func init() {
|
||||
unpauseCommand.Command = _unpauseCommand
|
||||
unpauseCommand.SetUsageTemplate(UsageTemplate())
|
||||
flags := unpauseCommand.Flags()
|
||||
flags.BoolVarP(&unpauseCommand.All, "all", "a", false, "Unpause all paused containers")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user