mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-11-20 23:41:28 +01:00
show help if no arguments are provided
This commit is contained in:
1 parent
ec9d3cd1cd
commit
fb0242a463
1 file changed
+2
@@ -515,6 +515,8 @@ main() {
|
||||
fi
|
||||
}
|
||||
|
||||
[[ "${@}" == "" ]] && eval set -- "--help"
|
||||
|
||||
while (( "${#}" )); do
|
||||
case "${1}" in
|
||||
--help|-h)
|
||||
|
||||
Reference in new issue
Block a user