mirror of
https://github.com/inspec/inspec
synced 2024-11-11 15:37:09 +00:00
Merge pull request #263 from chef/amanly/add_ssh_port_option_flag
Add -p alias for --port like ssh
This commit is contained in:
commit
63f7e7de9c
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ class InspecCLI < Thor
|
|||
desc: 'Choose a backend: local, ssh, winrm, docker.'
|
||||
option :host, type: :string,
|
||||
desc: 'Specify a remote host which is tested.'
|
||||
option :port, type: :numeric,
|
||||
option :port, aliases: :p, type: :numeric,
|
||||
desc: 'Specify the login port for a remote scan.'
|
||||
option :user, type: :string, default: nil,
|
||||
desc: 'The login user for a remote scan.'
|
||||
|
|
|
@ -26,7 +26,7 @@ The following options may be used with any of the InSpec CLI subcommands:
|
|||
``--path``
|
||||
The login path used to connect to the target for |winrm|.
|
||||
|
||||
``--port``
|
||||
``-p``, ``--port``
|
||||
The port over which remote scanning will occur.
|
||||
|
||||
``--self_signed``
|
||||
|
|
Loading…
Reference in a new issue