summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2020-07-15 08:43:29 -0700
committerMatthew Heon <matthew.heon@pm.me>2020-08-20 12:16:53 -0400
commit7c13b8c12f0382c921d10ba917c558d3ed6c0fb4 (patch)
tree57b9b87e8f27cca853c2d71902dbc968d4f99f59 /cmd
parentb216b3391c3b58dc876d8cff2deb969b1c5d8f98 (diff)
downloadpodman-7c13b8c12f0382c921d10ba917c558d3ed6c0fb4.tar.gz
podman-7c13b8c12f0382c921d10ba917c558d3ed6c0fb4.tar.bz2
podman-7c13b8c12f0382c921d10ba917c558d3ed6c0fb4.zip
Fix `podman system connection` panic
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/system/connection.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/system/connection.go b/cmd/podman/system/connection.go
index bdb113ea3..bf015191f 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)")
}