mirror of
https://github.com/daylinmorgan/hwylterm.git
synced 2024-12-21 10:40:44 -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 & "]"
|
||||
|
@ -101,9 +100,9 @@ func render*(cli: HwylCliHelp): string =
|
|||
if cli.desc != "":
|
||||
result.add "\n"
|
||||
result.add cli.desc
|
||||
result.add "\n"
|
||||
result.add "\n"
|
||||
if cli.subcmds.len > 0:
|
||||
result.add "\n"
|
||||
result.add "[" & cli.styles.header & "]"
|
||||
result.add "subcommands[/]:\n"
|
||||
for s in cli.subcmds:
|
||||
|
|
Loading…
Reference in a new issue