diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-03-24 13:12:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-24 13:12:06 +0100 |
commit | 3dbf2cb5aff67f82e486cd95aca170e44b8fc75a (patch) | |
tree | 0e67d02bcdb5caed701c22b332a4ad6f2bbe6fe6 /cmd/podmanV2/root.go | |
parent | a2ffd5c230ea6f53ed40ccc60e869164fee41899 (diff) | |
parent | 9536560b4f3a38fbba4ac61c357dd3627fb6cf4e (diff) | |
download | podman-3dbf2cb5aff67f82e486cd95aca170e44b8fc75a.tar.gz podman-3dbf2cb5aff67f82e486cd95aca170e44b8fc75a.tar.bz2 podman-3dbf2cb5aff67f82e486cd95aca170e44b8fc75a.zip |
Merge pull request #5581 from baude/v2containers
podmanv2 add core container commands
Diffstat (limited to 'cmd/podmanV2/root.go')
-rw-r--r-- | cmd/podmanV2/root.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/podmanV2/root.go b/cmd/podmanV2/root.go index 24b083b9f..b0dd7643f 100644 --- a/cmd/podmanV2/root.go +++ b/cmd/podmanV2/root.go @@ -23,8 +23,9 @@ var rootCmd = &cobra.Command{ func init() { // Override default --help information of `--version` global flag} var dummyVersion bool - rootCmd.PersistentFlags().BoolVarP(&dummyVersion, "version", "v", false, "Version of podman") - rootCmd.PersistentFlags().StringVarP(®istry.EngineOpts.Uri, "remote", "r", "", "URL to access podman service") + // TODO had to disable shorthand -v for version due to -v rm with volume + rootCmd.PersistentFlags().BoolVar(&dummyVersion, "version", false, "Version of Podman") + rootCmd.PersistentFlags().StringVarP(®istry.EngineOpts.Uri, "remote", "r", "", "URL to access Podman service") rootCmd.PersistentFlags().StringSliceVar(®istry.EngineOpts.Identities, "identity", []string{}, "path to SSH identity file") } |