diff options
Diffstat (limited to 'doc/manual')
-rw-r--r-- | doc/manual/nix-store.xml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/manual/nix-store.xml b/doc/manual/nix-store.xml index 633dcd871ba7..719bfe097574 100644 --- a/doc/manual/nix-store.xml +++ b/doc/manual/nix-store.xml @@ -773,6 +773,7 @@ $ nix-store --add ./foo.c <command>nix-store</command> <arg choice='plain'><option>--verify</option></arg> <arg><option>--check-contents</option></arg> + <arg><option>--repair</option></arg> </cmdsynopsis> </refsection> @@ -785,7 +786,7 @@ automatically repaired. Inconsistencies are generally the result of the Nix store or database being modified by non-Nix tools, or of bugs in Nix itself.</para> -<para>There is one option: +<para>This operation has the following options: <variablelist> @@ -800,6 +801,16 @@ in Nix itself.</para> </varlistentry> + <varlistentry><term><option>--repair</option></term> + + <listitem><para>If any valid path is missing from the store, or + (if <option>--check-contents</option> is given) the contents of a + valid path has been modified, then try to repair the path by + redownloading it. See <command>nix-store --repair-path</command> + for details.</para></listitem> + + </varlistentry> + </variablelist> </para> |