lib/icarus/mod/cli/subcommand_base.rb in Icarus-Mod-Tools-2.1.3 vs lib/icarus/mod/cli/subcommand_base.rb in Icarus-Mod-Tools-2.1.4
- old
+ new
@@ -6,11 +6,11 @@
module Mod
module CLI
# Base class for all subcommands
class SubcommandBase < Base
class_option :verbose,
- aliases: "-v", type: :boolean, repeatable: true, default: [true],
- desc: "Increase verbosity. May be repeated for even more verbosity."
+ aliases: "-v", type: :boolean, repeatable: true, default: [true],
+ desc: "Increase verbosity. May be repeated for even more verbosity."
no_commands do
def check_false
options[:verbose] = [] if options[:verbose].include?(false)
end