mirror of https://github.com/zulip/zulip.git
setup-certbot: Fix the usage message, and add the recently-added options.
This commit is contained in:
parent
8f387ba4d4
commit
df8548aaf1
|
@ -3,8 +3,10 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "Usage: $0 <domain name> <email>" >&2
|
cat <<EOF >&2
|
||||||
exit 1
|
Usage: $0 --hostname=zulip.example.com --email=admin@example.com [--method={webroot|standalone}] [--no-zulip-conf]
|
||||||
|
EOF
|
||||||
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "$EUID" -ne 0 ]; then
|
if [ "$EUID" -ne 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue