From 74ca2716a88d32537b90fd2b307a0e8127978e25 Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Wed, 15 Jul 2020 08:43:29 -0700 Subject: Fix `podman system connection` panic Signed-off-by: Jhon Honce --- cmd/podman/system/connection.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd/podman/system') 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)") } -- cgit v1.2.3-54-g00ecf