ITADN

Shows incorrect "# or null" for required booleans

#15Openpbrisbin 创建于 2024-10-20
P
pbrisbincommented
When I render help or man-page for my parser, every boolean option includes `# or null`: ``` Do anything at all enabled: # or null <boolean> ``` The setting is not optional, ```hs enabledParser :: Parser Bool enabledParser = setting [ help "Do anything at all" , conf "enabled" ] ``` And in fact fails if missing, ```console Missing config value: Do anything at all enabled: # or null <boolean> ``` Using explicitly `enabled: null` fails with the same error.
2 条评论