mirror of
https://github.com/containers/podman.git
synced 2025-12-06 05:37:49 +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:
@@ -32,7 +32,7 @@ func getMainCommands() []*cobra.Command {
|
||||
_restartCommand,
|
||||
_restoreCommand,
|
||||
_rmCommand,
|
||||
_runCommmand,
|
||||
_runCommand,
|
||||
_saveCommand,
|
||||
_searchCommand,
|
||||
_signCommand,
|
||||
@@ -82,7 +82,7 @@ func getContainerSubCommands() []*cobra.Command {
|
||||
_restartCommand,
|
||||
_restoreCommand,
|
||||
_rmCommand,
|
||||
_runCommmand,
|
||||
_runCommand,
|
||||
_runlabelCommand,
|
||||
_startCommand,
|
||||
_statsCommand,
|
||||
|
||||
Reference in New Issue
Block a user