mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-13 19:04:50 +02:00
setup.sh/setup: show usage when no argument is given (#2540)
This commit is contained in:
parent
1b1877f025
commit
ee0c088b1f
3 changed files with 10 additions and 4 deletions
|
@ -167,4 +167,9 @@ function _main
|
|||
esac
|
||||
}
|
||||
|
||||
_main "${@}"
|
||||
if [[ -z ${1:-} ]]
|
||||
then
|
||||
_usage
|
||||
else
|
||||
_main "${@}"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue