diff --git a/bin/inspec b/bin/inspec index 6ce82a458..3a5a4ecd4 100755 --- a/bin/inspec +++ b/bin/inspec @@ -26,8 +26,8 @@ class InspecCLI < Thor 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.' - option :disable_sudo, type: :boolean, default: false, - desc: 'To not run remote scans via sudo.' + option :sudo, type: :boolean, default: false, + desc: 'Run scans with sudo. Only activates on Unix and non-root user.' option :sudo_password, type: :string, default: nil, desc: 'Specify a sudo password, if it is required.' option :sudo_options, type: :string, default: '',