mirror of
https://github.com/containers/podman.git
synced 2025-12-03 19:59:39 +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:
@@ -52,6 +52,7 @@ var (
|
||||
|
||||
func init() {
|
||||
diffCommand.Command = _diffCommand
|
||||
diffCommand.SetUsageTemplate(UsageTemplate())
|
||||
flags := diffCommand.Flags()
|
||||
|
||||
flags.BoolVar(&diffCommand.Archive, "archive", true, "Save the diff as a tar archive")
|
||||
|
||||
Reference in New Issue
Block a user