summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cmd.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd.sh b/src/cmd.sh
index e7af8e3..4f945d5 100644
--- a/src/cmd.sh
+++ b/src/cmd.sh
@@ -20,14 +20,14 @@
# along with the ProteanOS Archive Manager. If not, see
# <http://www.gnu.org/licenses/>.
-cmds=' '
+_cmds=' '
register_cmd()
{
local cmd="${1}"
shift 1
- cmds="${cmds}${cmd} "
+ _cmds="${_cmds}${cmd} "
return 0
}
@@ -70,7 +70,7 @@ print_cmd_summaries()
local summary=
padding="$(printf '%24s' '')"
- for cmd in ${cmds}; do
+ for cmd in ${_cmds}; do
if [ ${#cmd} -gt 20 ]; then
printf ' %s\n%24s' "${cmd}" ''
else
@@ -106,7 +106,7 @@ is_cmd()
local cmd="${1}"
shift 1
- case "${cmds}" in *" ${cmd} "*) return 0;; esac
+ case "${_cmds}" in *" ${cmd} "*) return 0;; esac
return 1
}