Fixed help flag output.

This commit is contained in:
Jakob Friedl
2025-09-04 15:29:54 +02:00
parent e64e31a7bc
commit cb02d79b6e

View File

@@ -112,7 +112,7 @@ proc handleConsoleCommand(cq: Conquest, args: string) =
# Handle help flag
except ShortCircuit as err:
if err.flag == "argparse_help":
cq.error(err.help)
cq.output(err.help)
# Handle invalid arguments
except CatchableError: