Skip to content

Commit 06820c8

Browse files
committed
Color available config keys with Console.YELLOW in help output to be consistent with case-app options' help
1 parent f8b6304 commit 06820c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/cli/src/main/scala/scala/cli/commands/config/ConfigOptions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ object ConfigOptions {
101101
val currentKeyFullNameLength = maxFullNameLength - key.fullName.length
102102
val extraSpaces =
103103
if currentKeyFullNameLength > 0 then " " * currentKeyFullNameLength else ""
104-
s"- ${key.fullName}$extraSpaces ${key.description}"
104+
s"- ${Console.YELLOW}${key.fullName}${Console.RESET}$extraSpaces ${key.description}"
105105
}
106106
}
107107
val detailedHelpMessage: String =

0 commit comments

Comments
 (0)