aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/generate-options.nix
diff options
context:
space:
mode:
authorRahul Butani <rrbutani@users.noreply.github.com>2022-02-15 15:44:05 -0600
committerRahul Butani <rrbutani@users.noreply.github.com>2022-02-15 15:44:05 -0600
commitd82cf4a016aa0ee136ff62635e909607de78e02a (patch)
treee3d249aa653cb313fb7d601d5fe931af00ca0d91 /doc/manual/generate-options.nix
parent94992a919636fb9df4c7441dacbde08592e4494d (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.nix2
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 "")