summaryrefslogtreecommitdiff
path: root/src/lib/conf.sh.3.ronn
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/conf.sh.3.ronn')
-rw-r--r--src/lib/conf.sh.3.ronn11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lib/conf.sh.3.ronn b/src/lib/conf.sh.3.ronn
index 0974bdb..c17a3ee 100644
--- a/src/lib/conf.sh.3.ronn
+++ b/src/lib/conf.sh.3.ronn
@@ -47,14 +47,13 @@ configuration files; that is the basename of the files. For example,
The routines you will likely actually use are:
- * `load_files` <SLUG>:
+ * `load_conf` <SLUG>.conf <VARS>...:
Loads the configuration files for <SLUG>, loading the files in
the correct order, and checking the appropriate environmental
- variables.
- * `check_vars` <SLUG> <VARS>...:
- Checks to see if all of <VARS> are defined. If any of them
- aren't, it prints a message telling the user to configure them in
- the configuration files for <SLUG>, and returns with a non-zero
+ variables. If any <VARS> are listed, check to make sure that
+ each of them are defined. If any of them are not defined, it
+ prints a message telling the user to configure them in the
+ configuration files for <SLUG>, and returns with a non-zero
status.
* `get_var` <SLUG> <VAR> <DEFAULT>:
If <VAR> is set in the configuration for <SLUG>, print its