summaryrefslogtreecommitdiffstats
path: root/nix-script-switch.sh
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2015-07-28 20:42:43 +0200
committerMatthias Beyer <mail@beyermatthias.de>2015-08-01 20:46:55 +0200
commitd96cd7f689a84234c9808e2061818f549cd78f1f (patch)
tree5d99f7218396c7c1e24e75294a4ccf2a7d0be263 /nix-script-switch.sh
parent05320701b2676b9277658d8a9b278e68c2986a4f (diff)
Add help text for config file var use in switch command
Diffstat (limited to 'nix-script-switch.sh')
-rwxr-xr-xnix-script-switch.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/nix-script-switch.sh b/nix-script-switch.sh
index c781623..d1d8101 100755
--- a/nix-script-switch.sh
+++ b/nix-script-switch.sh
@@ -43,6 +43,13 @@ usage() {
can be used to use your local clone of the nixpkgs repository.
+$(help_rcvars \
+ "RC_CONFIG - Path of your system configuration (git) directory"\
+ "RC_NIXPKGS - Path of your nixpkgs clone" \
+ "RC_SWITCH_DEFAULT_TAG_FLAGS - Default git-tag flags for tagging in system configuration (git) directory"\
+ "RC_SWITCH_DEFAULT_TAG_FLAGS_NIXPKGS - Default git-tag flags for tagging in nixpkgs"
+)
+
$(help_end)
EOS
}