Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
8abd3e90
Commit
8abd3e90
authored
Jan 06, 2016
by
neil
Browse files
polish Usage message
parent
b78a2c81
Changes
1
Hide whitespace changes
Inline
Side-by-side
le.sh
View file @
8abd3e90
...
@@ -254,10 +254,10 @@ _initpath() {
...
@@ -254,10 +254,10 @@ _initpath() {
CA_CERT_PATH
=
$WORKING_DIR
/
$domain
/ca.cer
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
()
{
issue
()
{
if
[
-z
"
$1
"
]
;
then
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
return
1
fi
fi
Le_Webroot
=
$1
Le_Webroot
=
$1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment