1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-08 08:45:44 +02:00

Bug 520163: Use camel case for new command line argument

Change-Id: I2e70fd288e0cda8a0fc8d7e8ce53622c4db50abb
This commit is contained in:
Jonah Graham 2017-07-27 13:53:22 +01:00
parent df31b110d0
commit 594e65c8c0
2 changed files with 4 additions and 4 deletions

View file

@ -44,7 +44,7 @@ HeadlessBuilder_usage=Usage:
HeadlessBuilder_usage_build=\ \ \ -build {project_name_reg_ex{/config_reg_ex} | all}
HeadlessBuilder_usage_clean_build=\ \ \ -cleanBuild {project_name_reg_ex{/config_reg_ex} | all}
HeadlessBuilder_usage_import=\ \ \ -import {[uri:/]/path/to/project}
HeadlessBuilder_usage_marker_type=\ \ \ -marker-type Marker types to fail build on {all | cdt | marker_id}
HeadlessBuilder_usage_marker_type=\ \ \ -markerType Marker types to fail build on {all | cdt | marker_id}
HeadlessBuilder_usage_no_indexer=\ \ \ -no-indexer Disable indexer
HeadlessBuilder_usage_print_all_error_markers=\ \ \ -printErrorMarkers Print all error markers
HeadlessBuilder_importAll=\ \ \ -importAll {[uri:/]/path/to/projectTreeURI} Import all projects under URI

View file

@ -98,7 +98,7 @@ import org.eclipse.osgi.service.datalocation.Location;
* - Prepend to a tool option value: -Tp {toolid} {optionid=value}
* - Remove a tool option: -Tr {toolid} {optionid=value}
* - Disable indexer: -no-indexer
* - Error marker types to consider: -marker-type {all | cdt | marker_id}
* - Error marker types to consider: -markerType {all | cdt | marker_id}
* where:
* all is all markers -- default
* cdt is C/C++ Problem markers
@ -666,7 +666,7 @@ public class HeadlessBuilder implements IApplication {
* -Tp {toolid} {optionid=value} prepend to a tool option value
* -Tr {toolid} {optionid=value} remove a tool option value
* -no-indexer Disable indexer
* -marker-types Which markers to consider
* -markerType Which markers to consider
* -printErrorMarkers Print all error markers that caused build to fail
*
* Each argument may be specified more than once
@ -726,7 +726,7 @@ public class HeadlessBuilder implements IApplication {
addToolOption(toolId, option, ToolOption.REMOVE);
} else if ("-no-indexer".equals(args[i])) { //$NON-NLS-1$
disableIndexer = true;
} else if ("-marker-type".equals(args[i])) { //$NON-NLS-1$
} else if ("-markerType".equals(args[i])) { //$NON-NLS-1$
addMarkerType(args[++i]);
} else if ("-printErrorMarkers".equals(args[i])) { //$NON-NLS-1$
printErrorMarkers = true;