From 123067c18c2f4703559644d8d1ac88a28d370c09 Mon Sep 17 00:00:00 2001 From: Viktor De Pasquale Date: Tue, 13 Apr 2021 08:59:50 +0200 Subject: [PATCH] Updated usage instructions --- src/main/kotlin/dev/chainmail/taggy/startup/Args.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)