From 79eba9b4fabddaf264f2cc2df30616fe4ff1e0d6 Mon Sep 17 00:00:00 2001 From: Jason Reed Date: Wed, 25 Nov 2015 07:10:11 -0500 Subject: [PATCH] Add -i alias for --key_files like ssh --- bin/inspec | 2 +- docs/ctl_inspec.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/inspec b/bin/inspec index 06e572987..dfa2bfb9a 100755 --- a/bin/inspec +++ b/bin/inspec @@ -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).' diff --git a/docs/ctl_inspec.rst b/docs/ctl_inspec.rst index e8e4ba0c7..949462724 100644 --- a/docs/ctl_inspec.rst +++ b/docs/ctl_inspec.rst @@ -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``