changed default command to 'help'

This commit is contained in:
Lukas Schauer
2015-12-16 12:54:51 +01:00
parent e4666acb88
commit 1ca883dee2
2 changed files with 5 additions and 5 deletions

View File

@@ -470,7 +470,7 @@ command_revoke() {
command_help() {
echo "Usage: ${0} [-h] [command [argument]] [parameter [argument]] [parameter [argument]] ..."
echo
echo "Default command: cron"
echo "Default command: help"
echo
(
echo "Commands:"
@@ -602,7 +602,8 @@ while getopts ":hcer:d:xf:p:" option; do
done
if [[ -z "${COMMAND}" ]]; then
COMMAND="cron"
command_help
exit 1
fi
init_system