
parser.option(RESOLVE_MODE).hasArgument().hasDescription("Specifies how resolution should be performed. Possible values are: 'offline', 'force' and 'standard' (default).");
</BUG>
parser.option(PROJECT_CACHE_DIR).hasArgument().hasDescription("Specifies the project-specific cache directory. Defaults to .gradle in the root project directory.");
parser.option(DRY_RUN, "dry-run").hasDescription("Runs the builds with all task actions disabled.");
<BUG>parser.option(TASKS, "tasks").mapsToSubcommand(ImplicitTasksConfigurer.TASKS_TASK).hasDescription("Show list of available tasks").deprecated(deprecationMessage("tasks"));

parser.option(PROPERTIES, "properties").mapsToSubcommand(ImplicitTasksConfigurer.PROPERTIES_TASK).hasDescription("Show list of all available project properties").deprecated(deprecationMessage("properties"));

parser.option(DEPENDENCIES, "dependencies").mapsToSubcommand(ImplicitTasksConfigurer.DEPENDENCIES_TASK).hasDescription("Show list of all project dependencies").deprecated(deprecationMessage("dependencies"));
</BUG>
parser.option(PROJECT_DIR, "project-dir").hasArgument().hasDescription("Specifies the start directory for Gradle. Defaults to current directory.");

public void configure(CommandLineParser parser) {
loggingConfigurationCommandLineConverter.configure(parser);
systemPropertiesCommandLineConverter.configure(parser);
parser.allowMixedSubcommandsAndOptions();
parser.option(NO_SEARCH_UPWARDS, "no-search-upward").hasDescription(String.format("Don't search in parent folders for a %s file.", Settings.DEFAULT_SETTINGS_FILE));
parser.option(CACHE, "cache").hasArgument().hasDescription("Specifies how compiled build scripts should be cached. Possible values are: 'rebuild' and 'on'. Default value is 'on'.");
parser.option(RESOLVE_MODE).hasArgument().hasDescription("Specifies how resolution should be performed. Possible values are: 'offline', 'force' and 'standard'. Default value is 'standard'.").experimental();
parser.option(PROJECT_CACHE_DIR).hasArgument().hasDescription("Specifies the project-specific cache directory. Defaults to .gradle in the root project directory.");
parser.option(DRY_RUN, "dry-run").hasDescription("Runs the builds with all task actions disabled.");
parser.option(TASKS, "tasks").mapsToSubcommand(ImplicitTasksConfigurer.TASKS_TASK).hasDescription("Show list of available tasks.").deprecated(deprecationMessage("tasks"));
parser.option(PROPERTIES, "properties").mapsToSubcommand(ImplicitTasksConfigurer.PROPERTIES_TASK).hasDescription("Show list of all available project properties.").deprecated(deprecationMessage("properties"));
parser.option(DEPENDENCIES, "dependencies").mapsToSubcommand(ImplicitTasksConfigurer.DEPENDENCIES_TASK).hasDescription("Show list of all project dependencies.").deprecated(deprecationMessage("dependencies"));
parser.option(PROJECT_DIR, "project-dir").hasArgument().hasDescription("Specifies the start directory for Gradle. Defaults to current directory.");
