Fix help output

This commit is contained in:
2021-10-16 13:12:39 +02:00
parent 1634321bd2
commit 93d2163ce9
2 changed files with 4 additions and 2 deletions

View File

@@ -38,4 +38,7 @@ proc parseArgs*(): Option[Args] =
if command.len > 0:
args.cmd = some(command)
return some(args)
if args.name.isSome or args.cmd.isSome or args.profile.isSome:
return some(args)
else:
return none(Args)