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