lib/inspec/cli.rb in inspec-2.3.5 vs lib/inspec/cli.rb in inspec-2.3.10

- old
+ new

@@ -219,10 +219,10 @@ banner: 'one two:/output/file/path', desc: 'Enable one or more output reporters: cli, documentation, html, progress, json, json-min, json-rspec, junit' option :depends, type: :array, default: [], desc: 'A space-delimited list of local folders containing profiles whose libraries and resources will be loaded into the new shell' option :distinct_exit, type: :boolean, default: true, - desc: 'Exit with code 101 if any tests fail, and 100 if any are skipped (default). If disabled, exit 0 on skips and 1 for failures.' + desc: 'Exit with code 100 if any tests fail, and 101 if any are skipped but none failed (default). If disabled, exit 0 on skips and 1 for failures.' def shell_func o = opts(:shell).dup diagnose(o) o[:debug_shell] = true