lib/u3d/commands_generator.rb in u3d-1.0.4 vs lib/u3d/commands_generator.rb in u3d-1.0.5

- old
+ new

@@ -61,11 +61,11 @@ program :version, U3d::VERSION program :description, U3d::DESCRIPTION program :help, 'Authors', 'Jerome Lacoste <jerome@wewanttoknow.com>, Paul Niezborala <p.niezborala@wewanttoknow.com>' program :help, 'A word on Unity versions', U3d::UNITY_VERSIONS_NOTE - global_option('--verbose') { U3dCore::Globals.verbose = true } + global_option('--verbose', 'Run in verbose mode') { U3dCore::Globals.verbose = true } command :run do |c| # Intended for backward compatibilty purposes for run command # Meant to fetch options after '--' unknown by CommandsGenerator run_args = extract_run_args @@ -165,11 +165,11 @@ end command :credentials do |c| c.syntax = "u3d credentials <#{Commands.credentials_actions.join(' | ')}>" c.description = 'Manages keychain credentials so u3d remembers them. [OSX only]' - c.action do |args, options| - Commands.credentials(args: args, options: convert_options(options)) + c.action do |args, _options| + Commands.credentials(args: args) end end command :prettify do |c| c.syntax = 'u3d prettify <logfile>'