lib/u3d/commands_generator.rb in u3d-0.9.4 vs lib/u3d/commands_generator.rb in u3d-1.0.0.rc1

- old
+ new

@@ -69,10 +69,20 @@ # Intended for backward compatibilty purposes for run command # Meant to fetch options after '--' unknown by CommandsGenerator run_args = extract_run_args c.syntax = 'u3d run [-u | --unity_version <version>] [-r | --raw_logs] [ -- <run_args>]' - c.description = 'Run unity, and parses its output through u3d\'s log prettifier' + c.summary = 'Run unity, and parses its output through u3d\'s log prettifier' + c.description = %( +#{c.summary} + +The default prettifier rules file is packaged with u3d (#{U3d::LogAnalyzer::RULES_PATH}). +You may which to pass your own using the environment variable U3D_RULES_PATH. + +E.g. U3D_RULES_PATH=my_rules.json u3d -- ... + +Fore more information about how the rules work, see https://github.com/DragonBox/u3d/blob/master/LOG_RULES.md + ) c.option '-u', '--unity_version STRING', String, 'Version of Unity to run with. If not specified, it runs with the version of the project (either specified as -projectpath or current)' c.option '-r', '--raw_logs', 'Raw Unity output, not filtered by u3d\'s log prettifier' c.action do |args, options| UI.user_error! "Run doesn't take arguments. Did you forget '--' or did you mistake your command? (#{args})" if args.count > 0 U3dCore::Globals.log_timestamps = true