summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2015-07-28 20:36:39 +0200
committerMatthias Beyer <mail@beyermatthias.de>2015-08-01 20:46:55 +0200
commitb07a65f61aeaa3b293371a2d469f44cb73a6d945 (patch)
tree36ec329c59cf8f8d238097e0d8c418021a6021c7
parentc0f9f07453baeb081a798d4c8fcb5cbe391fbe69 (diff)
Add helper for config file variables
-rw-r--r--nix-utils.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/nix-utils.sh b/nix-utils.sh
index 6dc426e..69dbf12 100644
--- a/nix-utils.sh
+++ b/nix-utils.sh
@@ -44,6 +44,17 @@ help_synopsis() {
}
#
+# Helper for section on variables from the RC file for the script
+#
+help_rcvars() {
+ echo -e "\tUsed nix-script.rc variables:"
+ echo -e "\t-----------------------------"
+ echo -e ""
+ for s; do echo -e "\t\t${s}"; done
+ echo -e ""
+}
+
+#
# generate a help text footnote
#
help_end() {