diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-24 15:17:59 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-24 16:24:13 -0400 |
commit | 05128d533225b75f35f79a1f55b04556b7e9736b (patch) | |
tree | a2e8d723e76fd8e44c81ea0fbe1ad4dda597856d /src/lib/conf.sh.3.ronn | |
parent | d712e575c0d5b1bf66443beec3e7ed75be636e2d (diff) |
Merge conf.sh:load_files and conf.sh:check_vars into load_conf
Diffstat (limited to 'src/lib/conf.sh.3.ronn')
-rw-r--r-- | src/lib/conf.sh.3.ronn | 11 |
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 |