diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-09-13 14:41:28 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-09-13 14:45:21 +0200 |
commit | 49a932fb18add471feefc469fb45fc44313bd5c6 (patch) | |
tree | 716a8abc8682f190b22d1b2fecb4ed45bb87ae55 /doc/manual/generate-manpage.nix | |
parent | 14205debb244b925d685e3645c4deef937fa78ec (diff) |
nix --help: Display help using lowdown instead of man
Fixes #4476.
Fixes #5231.
Diffstat (limited to 'doc/manual/generate-manpage.nix')
-rw-r--r-- | doc/manual/generate-manpage.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/generate-manpage.nix b/doc/manual/generate-manpage.nix index 964b57086..4fc9abea1 100644 --- a/doc/manual/generate-manpage.nix +++ b/doc/manual/generate-manpage.nix @@ -89,7 +89,7 @@ let in let - manpages = processCommand { filename = "nix"; command = "nix"; def = command; }; + manpages = processCommand { filename = "nix"; command = "nix"; def = builtins.fromJSON command; }; summary = concatStrings (map (manpage: " - [${manpage.command}](command-ref/new-cli/${manpage.name})\n") manpages); in (listToAttrs manpages) // { "SUMMARY.md" = summary; } |