make help object a const

This commit is contained in:
Daylin Morgan 2025-01-27 12:21:05 -06:00
parent 8340e76424
commit bff6bc7c7c
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -861,7 +861,7 @@ func generateCliHelpProc(cfg: CliCfg, printHelpName: NimNode): NimNode =
result = quote do:
proc `printHelpName`() =
let help =
const help =
newHwylCliHelp(
header = `header`,
footer = `footer`,