Change dash to underscore in param name for consistency

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=190261145
This commit is contained in:
mcilwain 2018-03-23 12:52:33 -07:00 committed by jianglai
parent 89d8ba93f2
commit 0154cf09bb
2 changed files with 3 additions and 3 deletions

View file

@ -48,7 +48,7 @@ final class VerifyOteCommand implements ServerSideCommand {
private List<String> mainParameters = new ArrayList<>();
@Parameter(
names = "--check-all",
names = "--check_all",
description = "Check the OT&E pass status of all active registrars")
private boolean checkAll;
@ -74,7 +74,7 @@ final class VerifyOteCommand implements ServerSideCommand {
}
checkArgument(
mainParameters.isEmpty() == checkAll,
"Must provide at least one registrar name, or supply --check-all with no names.");
"Must provide at least one registrar name, or supply --check_all with no names.");
for (String clientId : mainParameters) {
// OT&E registrars are created with clientIDs of registrarName-[1-4], but this command is
// passed registrarName. So check the existence of the first persisted registrar to see if