Skip to content

Commit

Permalink
Merge pull request #16 from jerboaa/fail-missing-api-option
Browse files Browse the repository at this point in the history
Partial backport of [GR-48529] Use the API flag in the init hint
  • Loading branch information
zakkak authored Aug 27, 2024
2 parents 058a829 + 31573c1 commit 67e95eb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ public static String commandArgument(OptionKey<?> option, String value, String a
}
}
}
return HOSTED_OPTION_PREFIX + value + option;
String optionString = HOSTED_OPTION_PREFIX + value + option;
assert apiOptionName == null : "The API option " + apiOptionName + " not found for " + optionString;
return optionString;
} else {
String apiOptionWithValue = null;
for (APIOption apiOption : apiOptions) {
Expand Down

0 comments on commit 67e95eb

Please sign in to comment.