diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2020-12-12 17:42:53 +0100 |
---|---|---|
committer | Paul Holzinger <paul.holzinger@web.de> | 2020-12-12 19:10:25 +0100 |
commit | f7bd0a495ac40c5165e699f2eee31a33c3c0850f (patch) | |
tree | 156d11b186222d10d8d345c601b9c25d4b81cca3 /cmd/podman/play | |
parent | dd954781e6e308a0bbecfaf6699b41426100a58d (diff) | |
download | podman-f7bd0a495ac40c5165e699f2eee31a33c3c0850f.tar.gz podman-f7bd0a495ac40c5165e699f2eee31a33c3c0850f.tar.bz2 podman-f7bd0a495ac40c5165e699f2eee31a33c3c0850f.zip |
shell completion for the network flag
Complete all the options e.g. `container:`,`ns:`,`host`, etc...
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'cmd/podman/play')
-rw-r--r-- | cmd/podman/play/kube.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/play/kube.go b/cmd/podman/play/kube.go index 5e227d05a..db7280b1d 100644 --- a/cmd/podman/play/kube.go +++ b/cmd/podman/play/kube.go @@ -61,7 +61,7 @@ func init() { networkFlagName := "network" flags.StringVar(&kubeOptions.Network, networkFlagName, "", "Connect pod to CNI network(s)") - _ = kubeCmd.RegisterFlagCompletionFunc(networkFlagName, common.AutocompleteNetworks) + _ = kubeCmd.RegisterFlagCompletionFunc(networkFlagName, common.AutocompleteNetworkFlag) logDriverFlagName := "log-driver" flags.StringVar(&kubeOptions.LogDriver, logDriverFlagName, "", "Logging driver for the container") |