mirror of
https://github.com/containers/podman.git
synced 2025-06-20 09:03:43 +08:00
fix: volume create filters
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
This commit is contained in:
@ -48,7 +48,7 @@ func init() {
|
|||||||
_ = createCommand.RegisterFlagCompletionFunc(driverFlagName, completion.AutocompleteNone)
|
_ = createCommand.RegisterFlagCompletionFunc(driverFlagName, completion.AutocompleteNone)
|
||||||
|
|
||||||
labelFlagName := "label"
|
labelFlagName := "label"
|
||||||
flags.StringSliceVarP(&opts.Label, labelFlagName, "l", []string{}, "Set metadata for a volume (default [])")
|
flags.StringArrayVarP(&opts.Label, labelFlagName, "l", []string{}, "Set metadata for a volume (default [])")
|
||||||
_ = createCommand.RegisterFlagCompletionFunc(labelFlagName, completion.AutocompleteNone)
|
_ = createCommand.RegisterFlagCompletionFunc(labelFlagName, completion.AutocompleteNone)
|
||||||
|
|
||||||
optFlagName := "opt"
|
optFlagName := "opt"
|
||||||
|
Reference in New Issue
Block a user