提交 c23e2270 编写于 作者: C Cleber Rosa

VM Runner: use default on option parser for port and username

Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 d0cb02c7
......@@ -455,9 +455,10 @@ class VMCLI(CLI):
vm_parser.add_argument('--vm-port', dest='vm_port',
default=22, type=int,
help=('Specify the SSH port number to login on '
'VM. Current: 22'))
'VM. Default: %(default)s'))
vm_parser.add_argument('--vm-username', default=getpass.getuser(),
help='Specify the username to login on VM')
help=('Specify the username to login on VM. '
'Default: %(default)s'))
vm_parser.add_argument('--vm-password',
default=None,
help='Specify the password to login on VM')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册