Browse Source

Merge pull request #773 from Neilpang/dev

minor, add more error message
pull/102/merge
neil 8 years ago
committed by GitHub
parent
commit
6c3a0bc72c
  1. 4
      acme.sh

4
acme.sh

@ -3121,6 +3121,10 @@ issue() {
_usage "Usage: $PROJECT_ENTRY --issue -d a.com -w /path/to/webroot/a.com/ " _usage "Usage: $PROJECT_ENTRY --issue -d a.com -w /path/to/webroot/a.com/ "
return 1 return 1
fi fi
if [ -z "$1" ]; then
_usage "Please specify at least one validation method: '--webroot', '--standalone', '--apache', '--nginx' or '--dns' etc."
return 1
fi
_web_roots="$1" _web_roots="$1"
_main_domain="$2" _main_domain="$2"
_alt_domains="$3" _alt_domains="$3"

Loading…
Cancel
Save