diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-06-15 00:18:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-15 00:18:53 +0200 |
commit | 90e3c9002b2293569e0cec168a30ecb962b00034 (patch) | |
tree | 709da03b7768049b8a8f1228e29905a8ce40c635 /cmd/podman/main_local.go | |
parent | cba622b6097959d7659d4cfa05637cce672b87d6 (diff) | |
parent | c866e441d026350a3216f46e36e77278784b6afc (diff) | |
download | podman-90e3c9002b2293569e0cec168a30ecb962b00034.tar.gz podman-90e3c9002b2293569e0cec168a30ecb962b00034.tar.bz2 podman-90e3c9002b2293569e0cec168a30ecb962b00034.zip |
Merge pull request #3328 from mheon/storage_opts_for_cleanup
When creating exit command, pass storage options on
Diffstat (limited to 'cmd/podman/main_local.go')
-rw-r--r-- | cmd/podman/main_local.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/main_local.go b/cmd/podman/main_local.go index b4f21bd0c..132f35ab5 100644 --- a/cmd/podman/main_local.go +++ b/cmd/podman/main_local.go @@ -48,7 +48,7 @@ func init() { rootCmd.PersistentFlags().StringVar(&MainGlobalOpts.Runtime, "runtime", "", "Path to the OCI-compatible binary used to run containers, default is /usr/bin/runc") // -s is depracated due to conflict with -s on subcommands rootCmd.PersistentFlags().StringVar(&MainGlobalOpts.StorageDriver, "storage-driver", "", "Select which storage driver is used to manage storage of images and containers (default is overlay)") - rootCmd.PersistentFlags().StringSliceVar(&MainGlobalOpts.StorageOpts, "storage-opt", []string{}, "Used to pass an option to the storage driver") + rootCmd.PersistentFlags().StringArrayVar(&MainGlobalOpts.StorageOpts, "storage-opt", []string{}, "Used to pass an option to the storage driver") rootCmd.PersistentFlags().BoolVar(&MainGlobalOpts.Syslog, "syslog", false, "Output logging information to syslog as well as the console") rootCmd.PersistentFlags().StringVar(&MainGlobalOpts.TmpDir, "tmpdir", "", "Path to the tmp directory") |