diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-07-16 11:16:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-16 11:16:47 -0400 |
commit | f4766e01e3b314543d131577d0ef891670b81a84 (patch) | |
tree | 08b0e4ad43c5a7b96dacc23eb54d7588f4eaae20 /cmd/podman | |
parent | ad388b9b5427811976e2f38089580673442067f3 (diff) | |
parent | 74ca2716a88d32537b90fd2b307a0e8127978e25 (diff) | |
download | podman-f4766e01e3b314543d131577d0ef891670b81a84.tar.gz podman-f4766e01e3b314543d131577d0ef891670b81a84.tar.bz2 podman-f4766e01e3b314543d131577d0ef891670b81a84.zip |
Merge pull request #6988 from jwhonce/wip/connection
Fix `podman system connection` panic
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/system/connection.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/system/connection.go b/cmd/podman/system/connection.go index 6a55d2d79..9f26a0df6 100644 --- a/cmd/podman/system/connection.go +++ b/cmd/podman/system/connection.go @@ -60,7 +60,8 @@ func init() { }) flags := connectionCmd.Flags() - flags.IntVarP(&cOpts.Port, "port", "p", 22, "port number for destination") + flags.IntVarP(&cOpts.Port, "port", "p", 22, "SSH port number for destination") + flags.StringVar(&cOpts.Identity, "identity", "", "path to SSH identity file") flags.StringVar(&cOpts.UDSPath, "socket-path", "", "path to podman socket on remote host. (default '/run/podman/podman.sock' or '/run/user/{uid}/podman/podman.sock)") } |