summaryrefslogtreecommitdiff
path: root/cmd/podman/networks/disconnect.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/networks/disconnect.go')
-rw-r--r--cmd/podman/networks/disconnect.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/networks/disconnect.go b/cmd/podman/networks/disconnect.go
index 598c23a1c..a30315774 100644
--- a/cmd/podman/networks/disconnect.go
+++ b/cmd/podman/networks/disconnect.go
@@ -17,7 +17,7 @@ var (
RunE: networkDisconnect,
Example: `podman network disconnect web secondary`,
Args: cobra.ExactArgs(2),
- ValidArgsFunction: common.AutocompleteNetworks,
+ ValidArgsFunction: common.AutocompleteNetworkConnectCmd,
}
)