From e16200ac9f0e8fde836a14cc6951203e8986122a Mon Sep 17 00:00:00 2001 From: chenkang Date: Fri, 16 Apr 2021 15:52:03 +0800 Subject: add flag autocomplete Signed-off-by: chenkang --- cmd/podman/common/create.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd') diff --git a/cmd/podman/common/create.go b/cmd/podman/common/create.go index e574f228e..da391d30d 100644 --- a/cmd/podman/common/create.go +++ b/cmd/podman/common/create.go @@ -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() { -- cgit v1.2.3-54-g00ecf