aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/command-ref/nix-store.md
diff options
context:
space:
mode:
authorThéophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>2022-12-08 06:39:13 +0100
committerGitHub <noreply@github.com>2022-12-08 06:39:13 +0100
commit1dd7779c7cdca7061e80ebc3b7886a2aa97b0d8a (patch)
tree00b4ae0eb81b51d920450c034a1e26e0f3f2a4b1 /doc/manual/src/command-ref/nix-store.md
parentf4d6f3ae8fcd10835c3e50339e9caf4b28a98ee5 (diff)
parentebeaf03558caa62cba6f0bfbd1170dbd5c5944b8 (diff)
Merge pull request #7379 from fricklerhandwerk/refactor-generate-options
refactor rendering documentation of options
Diffstat (limited to 'doc/manual/src/command-ref/nix-store.md')
-rw-r--r--doc/manual/src/command-ref/nix-store.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/manual/src/command-ref/nix-store.md b/doc/manual/src/command-ref/nix-store.md
index 9102aff2d..b712a7463 100644
--- a/doc/manual/src/command-ref/nix-store.md
+++ b/doc/manual/src/command-ref/nix-store.md
@@ -22,7 +22,8 @@ This section lists the options that are common to all operations. These
options are allowed for every subcommand, though they may not always
have an effect.
- - [`--add-root`]{#opt-add-root} *path*\
+ - <span id="opt-add-root">[`--add-root`](#opt-add-root)</span> *path*
+
Causes the result of a realisation (`--realise` and
`--force-realise`) to be registered as a root of the garbage
collector. *path* will be created as a symlink to the resulting