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:
Daniel J Walsh
2019-02-11 19:19:19 -07:00
parent ea20ead35b
commit ccbc4fb006
80 changed files with 122 additions and 21 deletions

View File

@@ -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,