about summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2017-05-20 02:19:15 +0200
committerNiklas Hambüchen <mail@nh2.me>2017-05-20 17:05:02 +0200
commitaed1986f2f27b309f675c2e210ef2ab07453f14c (patch)
tree0d4e66eec3bf33e50e75873cda5b079e48b96088 /nixos/doc
parent9f6b1dca58375de995e8af4ae44ae76e3dd5f0f7 (diff)
downloadnixlib-aed1986f2f27b309f675c2e210ef2ab07453f14c.tar
nixlib-aed1986f2f27b309f675c2e210ef2ab07453f14c.tar.gz
nixlib-aed1986f2f27b309f675c2e210ef2ab07453f14c.tar.bz2
nixlib-aed1986f2f27b309f675c2e210ef2ab07453f14c.tar.lz
nixlib-aed1986f2f27b309f675c2e210ef2ab07453f14c.tar.xz
nixlib-aed1986f2f27b309f675c2e210ef2ab07453f14c.tar.zst
nixlib-aed1986f2f27b309f675c2e210ef2ab07453f14c.zip
Fix typo about options without defaults
Diffstat (limited to 'nixos/doc')
-rw-r--r--nixos/doc/manual/development/option-declarations.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/doc/manual/development/option-declarations.xml b/nixos/doc/manual/development/option-declarations.xml
index d62d0896bb7c..e322b6458a1a 100644
--- a/nixos/doc/manual/development/option-declarations.xml
+++ b/nixos/doc/manual/development/option-declarations.xml
@@ -41,8 +41,9 @@ options = {
     <term><varname>default</varname></term>
     <listitem>
       <para>The default value used if no value is defined by any
-      module.  A default is not required; in that case, if the option
-      value is never used, an error will be thrown.</para>
+      module.  A default is not required; but if a default is not given,
+      then users of the module will have to define the value of the
+      option, otherwise an error will be thrown.</para>
     </listitem>
   </varlistentry>