mirror of
https://github.com/containers/podman.git
synced 2025-06-23 18:59:30 +08:00
add flag autocomplete
Signed-off-by: chenkang <kongchen28@gmail.com>
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user