mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-27 11:31:04 +01:00
changed default command to 'help'
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user