mirror of
https://github.com/containers/podman.git
synced 2025-12-08 06:39:05 +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:
@@ -40,6 +40,7 @@ specified, the image with the 'latest' tag (if it exists) is pulled
|
||||
|
||||
func init() {
|
||||
pullCommand.Command = _pullCommand
|
||||
pullCommand.SetUsageTemplate(UsageTemplate())
|
||||
flags := pullCommand.Flags()
|
||||
flags.StringVar(&pullCommand.Authfile, "authfile", "", "Path of the authentication file. Default is ${XDG_RUNTIME_DIR}/containers/auth.json. Use REGISTRY_AUTH_FILE environment variable to override")
|
||||
flags.StringVar(&pullCommand.CertDir, "cert-dir", "", "`Pathname` of a directory containing TLS certificates and keys")
|
||||
|
||||
Reference in New Issue
Block a user