nixos-option: fixes as suggested by @nbp

Changed files
+4 -2
nixos
doc
modules
installer
+1 -1
nixos/doc/manual/man-nixos-option.xml
···
Whether to enable the GNU GRUB boot loader.
Declared by:
-
"/path/to/nixpkgs/nixos/modules/system/boot/loader/grub/grub.nix"
+
"/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/boot/loader/grub/grub.nix"
Defined by:
"/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/boot/loader/grub/grub.nix"
+3 -1
nixos/modules/installer/tools/nixos-option.sh
···
fi
echo
if example=$(evalOpt "example" - 2> /dev/null); then
-
echo "Example: $example"
+
echo "Example:"
+
echo "$example"
+
echo
fi
echo "Description:"
echo