mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-21 00:29:01 +01:00
show help if no arguments are provided
This commit is contained in:
@@ -515,6 +515,8 @@ main() {
|
||||
fi
|
||||
}
|
||||
|
||||
[[ "${@}" == "" ]] && eval set -- "--help"
|
||||
|
||||
while (( "${#}" )); do
|
||||
case "${1}" in
|
||||
--help|-h)
|
||||
|
||||
Reference in New Issue
Block a user