mirror of
https://github.com/containers/podman.git
synced 2025-12-08 14:48:48 +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:
@@ -60,6 +60,7 @@ var (
|
||||
|
||||
func init() {
|
||||
createCommand.PodmanCommand.Command = _createCommand
|
||||
createCommand.SetUsageTemplate(UsageTemplate())
|
||||
|
||||
getCreateFlags(&createCommand.PodmanCommand)
|
||||
flags := createCommand.Flags()
|
||||
|
||||
Reference in New Issue
Block a user