Add -i alias for --key_files like ssh

This commit is contained in:
Jason Reed 2015-11-25 07:10:11 -05:00
parent f8cc6f8dee
commit 79eba9b4fa
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ class InspecCLI < Thor
desc: 'The login user for a remote scan.'
option :password, type: :string, default: nil,
desc: 'Login password for a remote scan, if required.'
option :key_files, type: :array, default: nil,
option :key_files, aliases: :i, type: :array, default: nil,
desc: 'Login key or certificate file for a remote scan.'
option :path, type: :string, default: nil,
desc: 'Login path to use when connecting to the target (WinRM).'

View file

@ -17,7 +17,7 @@ The following options may be used with any of the InSpec CLI subcommands:
``--host``
The remote host to be tested.
``--key-files``
``-i``, ``--key_files``
The login key or certificate file required for remote scanning.
``--password``