lib/cri/commands/basic_help.rb in cri-2.10.1 vs lib/cri/commands/basic_help.rb in cri-2.11.0

- old
+ new

@@ -1,13 +1,15 @@ +# frozen_string_literal: true + name 'help' usage 'help [command_name]' summary 'show help' -description <<-EOS -Show help for the given command, or show general help. When no command is -given, a list of available commands is displayed, as well as a list of global -command-line options. When a command is given, a command description, as well -as command-specific command-line options, are shown. -EOS +description <<~DESC + Show help for the given command, or show general help. When no command is + given, a list of available commands is displayed, as well as a list of global + command-line options. When a command is given, a command description, as well + as command-specific command-line options, are shown. +DESC flag :v, :verbose, 'show more detailed help' run do |opts, args, cmd| if cmd.supercommand.nil?