lib/rcmdr/command_help.rb in rcmdr-0.1.0.pre.alpha vs lib/rcmdr/command_help.rb in rcmdr-0.1.1.pre.alpha

- old
+ new

@@ -3,10 +3,10 @@ module Rcmdr module CommandHelp private # rubocop:disable Lint/UnusedMethodArgument - def command_help_for(command:, desc:, namespaces: nil, long_desc: nil, options: {}, commands: []) + def command_help_for(command:, desc:, namespaces: nil, long_desc: nil, options: {}, commands: []) # rubocop:disable Metrics/ParameterLists namespaces ||= command_namespaces help = <<~HELP #{namespaces&.join(' ')} #{command}#{' [OPTIONS]' if options&.any?} - #{desc} #{'OPTIONS:' if options&.any?}