mirror of
https://github.com/daylinmorgan/hwylterm.git
synced 2024-11-16 06:28:32 -06:00
change newline insertion
This commit is contained in:
parent
69ae06fa47
commit
cddbf5ee1e
1 changed files with 1 additions and 2 deletions
|
@ -64,7 +64,6 @@ func render*(cli: HwylCliHelp, f: HwylFlagHelp): string =
|
|||
result.add "[/]"
|
||||
else:
|
||||
result.add " ".repeat(1 + cli.shortArgLen)
|
||||
|
||||
result.add " "
|
||||
if f.long != "":
|
||||
result.add "[" & cli.styles.flagLong & "]"
|
||||
|
@ -102,8 +101,8 @@ func render*(cli: HwylCliHelp): string =
|
|||
result.add "\n"
|
||||
result.add cli.desc
|
||||
result.add "\n"
|
||||
if cli.subcmds.len > 0:
|
||||
result.add "\n"
|
||||
if cli.subcmds.len > 0:
|
||||
result.add "[" & cli.styles.header & "]"
|
||||
result.add "subcommands[/]:\n"
|
||||
for s in cli.subcmds:
|
||||
|
|
Loading…
Reference in a new issue