mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
generate-manpage.nix: Fix short names
This commit is contained in:
parent
09660b8557
commit
9dcd0aebc5
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ let
|
||||||
if flag.category or "" != "config"
|
if flag.category or "" != "config"
|
||||||
then
|
then
|
||||||
" - `--${longName}`"
|
" - `--${longName}`"
|
||||||
+ (if flag ? shortName then " / `${flag.shortName}`" else "")
|
+ (if flag ? shortName then " / `-${flag.shortName}`" else "")
|
||||||
+ (if flag ? labels then " " + (concatStringsSep " " (map (s: "*${s}*") flag.labels)) else "")
|
+ (if flag ? labels then " " + (concatStringsSep " " (map (s: "*${s}*") flag.labels)) else "")
|
||||||
+ " \n"
|
+ " \n"
|
||||||
+ " " + flag.description + "\n\n"
|
+ " " + flag.description + "\n\n"
|
||||||
|
|
Loading…
Reference in a new issue