From b07a65f61aeaa3b293371a2d469f44cb73a6d945 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 28 Jul 2015 20:36:39 +0200 Subject: Add helper for config file variables --- nix-utils.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'nix-utils.sh') diff --git a/nix-utils.sh b/nix-utils.sh index 6dc426e..69dbf12 100644 --- a/nix-utils.sh +++ b/nix-utils.sh @@ -43,6 +43,17 @@ help_synopsis() { echo "usage: nix-script $SCRIPT $*" } +# +# 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 # -- cgit v1.2.3