show help if no arguments are provided

This commit is contained in:
Lukas Schauer committed 2016-01-10 04:44:44 +01:00
1 parent ec9d3cd1cd
commit fb0242a463
1 file changed
+2
+2
View File
@@ -515,6 +515,8 @@ main() {
fi
}
[[ "${@}" == "" ]] && eval set -- "--help"
while (( "${#}" )); do
case "${1}" in
--help|-h)