add flag autocomplete
Signed-off-by: chenkang <kongchen28@gmail.com>
This commit is contained in:
parent
4fb5fee412
commit
e16200ac9f
|
|
@ -822,6 +822,7 @@ func DefineCreateFlags(cmd *cobra.Command, cf *ContainerCLIOpts) {
|
|||
&cf.PidFile,
|
||||
pidFileFlagName, "",
|
||||
"Write the container process ID to the file")
|
||||
_ = cmd.RegisterFlagCompletionFunc(pidFileFlagName, completion.AutocompleteDefault)
|
||||
|
||||
_ = createFlags.MarkHidden("signature-policy")
|
||||
if registry.IsRemote() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue