# File lib/nanoc/cli/commands/check.rb, line 44 def validate_options_and_arguments if arguments.empty? && !options[:all] && !options[:deploy] && !options[:list] raise Nanoc::Errors::GenericTrivial, "nothing to do (pass either --all, --deploy or --list or a list of checks)" end end