mirror of
https://github.com/daylinmorgan/hwylterm.git
synced 2025-02-23 01:35:50 -06:00
add note about bug
This commit is contained in:
parent
a88765e328
commit
2915f65d15
1 changed files with 6 additions and 0 deletions
|
@ -800,6 +800,12 @@ func flagToTuple(c: CliCfg, f: CliFlag | BuiltinFlag): NimNode =
|
|||
newLit""
|
||||
else:
|
||||
f.defaultVal or newLit""
|
||||
|
||||
# BUG: if f.defaultVal is @[] `$` fails
|
||||
# but works with `newSeq[T]()`
|
||||
# could replace "defaultVal" with newSeq[T]()
|
||||
# under the hood when parsing type/val
|
||||
|
||||
quote do:
|
||||
(`short`, `long`, `help`, bbEscape($`defaultVal`))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue