Method: Inspec::EnvPrinter#print_and_exit!
- Defined in:
- lib/inspec/env_printer.rb
#print_and_exit! ⇒ Object
26 27 28 29 30 31 32 33 34 |
# File 'lib/inspec/env_printer.rb', line 26 def print_and_exit! exit_no_shell if !have_shell? exit_no_completion if !have_shell_completion? print_completion_for_shell print_detection_warning($stdout) if @detected print_usage_guidance exit 0 end |