diff options
author | Rahul Butani <rrbutani@users.noreply.github.com> | 2022-02-15 15:44:05 -0600 |
---|---|---|
committer | Rahul Butani <rrbutani@users.noreply.github.com> | 2022-02-15 15:44:05 -0600 |
commit | d82cf4a016aa0ee136ff62635e909607de78e02a (patch) | |
tree | e3d249aa653cb313fb7d601d5fe931af00ca0d91 /doc/manual/generate-options.nix | |
parent | 94992a919636fb9df4c7441dacbde08592e4494d (diff) |
manual: fix formatting for options with "machine-specific" defaults
Diffstat (limited to 'doc/manual/generate-options.nix')
-rw-r--r-- | doc/manual/generate-options.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/generate-options.nix b/doc/manual/generate-options.nix index 9a77f4d36..84d90beb6 100644 --- a/doc/manual/generate-options.nix +++ b/doc/manual/generate-options.nix @@ -20,7 +20,7 @@ concatStrings (map # JSON, but that converts to "{ }" here. (if isAttrs option.value then "`\"\"`" else "`" + toString option.value + "`")) + "\n\n" - else " **Default:** *machine-specific*") + else " **Default:** *machine-specific*\n") + (if option.aliases != [] then " **Deprecated alias:** " + (concatStringsSep ", " (map (s: "`${s}`") option.aliases)) + "\n\n" else "") |