From 8abd3e90aacbf148057e634d6edeef4dcd13330b Mon Sep 17 00:00:00 2001 From: neil Date: Wed, 6 Jan 2016 22:51:16 +0800 Subject: [PATCH] polish Usage message --- le.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/le.sh b/le.sh index d9dacbd4..5f7cb731 100755 --- a/le.sh +++ b/le.sh @@ -254,10 +254,10 @@ _initpath() { CA_CERT_PATH=$WORKING_DIR/$domain/ca.cer } -#issue webroot a.com [www.a.com,b.com,c.com] [key-length] [cert-file-path] [key-file-path] [reloadCmd] + issue() { if [ -z "$1" ] ; then - echo "Usage: $0 webroot a.com [www.a.com,b.com,c.com] [key-length] [cert-file-path] [key-file-path] [ca-cert-file-path] [reloadCmd]" + echo "Usage: le issue webroot|no a.com [www.a.com,b.com,c.com]|no [key-length]|no [cert-file-path]|no [key-file-path]|no [ca-cert-file-path]|no [reloadCmd]|no" return 1 fi Le_Webroot=$1