generate-manpage.nix: Add comment explaining one bit

This commit is contained in:
John Ericson 2023-09-25 08:20:39 -04:00 committed by GitHub
parent 9f93972c4d
commit 4606a07bb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,6 +110,7 @@ let
${option.description}
'';
categories = mapAttrs
# Convert each group from a list of key-value pairs back to an attrset
(_: listToAttrs)
(groupBy
(cmd: cmd.value.category)