Tweak command-line verb names

Tweak command-line verb names in response to cherry-pick feedback.

Bug: 140712361
Test: build only
Change-Id: Id72be2181d090f9c32e58fd9c10d32d0d638d550
This commit is contained in:
Neil Fuller
2020-03-19 11:19:41 +00:00
parent 64737571b8
commit 8e3e1247ab

View File

@@ -37,9 +37,9 @@ class TimeZoneDetectorShellCommand extends ShellCommand {
}
switch (cmd) {
case "suggestTelephonyTimeZone":
case "suggest_telephony_time_zone":
return runSuggestTelephonyTimeZone();
case "suggestManualTimeZone":
case "suggest_manual_time_zone":
return runSuggestManualTimeZone();
default: {
return handleDefaultCommands(cmd);
@@ -105,9 +105,9 @@ class TimeZoneDetectorShellCommand extends ShellCommand {
pw.println("Time Zone Detector (time_zone_detector) commands:");
pw.println(" help");
pw.println(" Print this help text.");
pw.println(" suggestTelephonyTimeZone");
pw.println(" suggest_telephony_time_zone");
pw.println(" --suggestion <telephony suggestion opts>");
pw.println(" suggestManualTimeZone");
pw.println(" suggest_manual_time_zone");
pw.println(" --suggestion <manual suggestion opts>");
pw.println();
ManualTimeZoneSuggestion.printCommandLineOpts(pw);