setup-certbot: Fix the usage message, and add the recently-added options.

This commit is contained in:
Greg Price 2017-11-15 16:03:20 -08:00 committed by Tim Abbott
parent 8f387ba4d4
commit df8548aaf1
1 changed files with 4 additions and 2 deletions

View File

@ -3,8 +3,10 @@
set -e
usage() {
echo "Usage: $0 <domain name> <email>" >&2
exit 1
cat <<EOF >&2
Usage: $0 --hostname=zulip.example.com --email=admin@example.com [--method={webroot|standalone}] [--no-zulip-conf]
EOF
exit 1
}
if [ "$EUID" -ne 0 ]; then