Minor, remove blank line in extra help

This commit is contained in:
Alexander Udalov
2017-02-08 19:46:12 +03:00
parent 8fee62a8c5
commit 20d856fa77
3 changed files with 3 additions and 6 deletions
@@ -39,10 +39,8 @@ class Usage {
for (Field field : clazz.getDeclaredFields()) {
String usage = fieldUsage(field, extraHelp);
if (usage != null) {
boolean coroutinesUsage = usage.contains("Xcoroutines");
if (coroutinesUsage && coroutinesUsagePrinted) {
continue;
} else if (coroutinesUsage) {
if (usage.contains("Xcoroutines")) {
if (coroutinesUsagePrinted) continue;
coroutinesUsagePrinted = true;
}
target.println(usage);
@@ -89,6 +87,7 @@ class Usage {
if (isXCoroutinesKey) {
sb.append(" ");
sb.append(coroutinesKeyDescription);
return sb.toString();
}
int width = OPTION_NAME_PADDING_WIDTH - 1;
-1
View File
@@ -8,6 +8,5 @@ where advanced options include:
-Xno-check-impl Do not check presence of 'impl' modifier in multi-platform projects
-Xcoroutines={enable|warn|error} Enable coroutines or report warnings or errors on declarations and use sites of 'suspend' modifier
Advanced options are non-standard and may be changed or removed without any notice.
OK
-1
View File
@@ -20,6 +20,5 @@ where advanced options include:
-Xno-check-impl Do not check presence of 'impl' modifier in multi-platform projects
-Xcoroutines={enable|warn|error} Enable coroutines or report warnings or errors on declarations and use sites of 'suspend' modifier
Advanced options are non-standard and may be changed or removed without any notice.
OK