diff --git a/src/main/kotlin/dev/chainmail/taggy/startup/Args.kt b/src/main/kotlin/dev/chainmail/taggy/startup/Args.kt index 9ea0365..f93084d 100644 --- a/src/main/kotlin/dev/chainmail/taggy/startup/Args.kt +++ b/src/main/kotlin/dev/chainmail/taggy/startup/Args.kt @@ -127,7 +127,7 @@ class Args(private val options: CommandLine) { val commandLine = try { parser.parse(options, args) } catch (e: UnrecognizedOptionException) { - help.printHelp(e.option, options) + help.printHelp("taggy", options, true) exitProcess(0) } catch (e: ParseException) { println(e.message)