From 39701bc85841e596cfe49c8932313c432906d971 Mon Sep 17 00:00:00 2001 From: HuKeping Date: Wed, 6 Jan 2016 12:09:52 +0800 Subject: [PATCH] Fix here document It seems the prompt doesn't work here. Signed-off-by: Hu Keping --- docs/opensslCertGen.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/opensslCertGen.sh b/docs/opensslCertGen.sh index 715c1b3bc6..eddbce4ce6 100755 --- a/docs/opensslCertGen.sh +++ b/docs/opensslCertGen.sh @@ -4,7 +4,7 @@ # a public CA or an internal CA should be used -CLIENT_USAGE=<] @@ -12,18 +12,20 @@ ${0} client [-o ] Example: ${0} client -o clienttls EOL +) -SERVER_USAGE=< [-o ] - [-r ] + [-r ] [-a ] [-a ] ... Example: ${0} server -o servertls -n notary-server -a DNS:notaryserver \ - -a DNS:notary_server -a IP:127.0.0.1" + -a DNS:notary_server -a IP:127.0.0.1 EOL +) if [[ -z "${1}" ]]; then printf "${CLIENT_USAGE}\n\n${SERVER_USAGE}\n\n"