File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
src/main/kotlin/com/xenomachina/argparser Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ version=2.0.2-SNAPSHOT
33# Dependency versions
44dokka_version = 0.9.14
55kotlintest_version = 2.0.2
6- kotlin_version = 1.1.2-4
6+ kotlin_version = 1.1.2-3
77ktlint_version = 0.7.0
88xenocom_version = 0.0.4
Original file line number Diff line number Diff line change @@ -65,9 +65,7 @@ internal class OptionDelegate<T>(
6565 return HelpFormatter .Value (
6666 isRequired = (holder == null ),
6767 isRepeating = isRepeating,
68- usages = if (! argNames.isEmpty())
69- optionNames.map { " $it ${argNames.joinToString(" " )} " }
70- else optionNames,
68+ usages = if (! argNames.isEmpty()) optionNames.map { " $it ${argNames.joinToString(" " )} " } else optionNames,
7169 isPositional = false ,
7270 help = help)
7371 }
You can’t perform that action at this time.
0 commit comments