This is an automated email from the ASF dual-hosted git repository. rabbah pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push: new 10ad912 fix genssl.sh usage output, 1 arg is minimum, document 2nd optional arg (#2851) 10ad912 is described below commit 10ad912f83c989ee364be635bfcfca8389221501 Author: Alexander Klimetschek <alexan...@klimetschek.de> AuthorDate: Sat Oct 21 08:06:32 2017 -0700 fix genssl.sh usage output, 1 arg is minimum, document 2nd optional arg (#2851) --- ansible/roles/nginx/files/genssl.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ansible/roles/nginx/files/genssl.sh b/ansible/roles/nginx/files/genssl.sh index d78400d..e61e9b2 100755 --- a/ansible/roles/nginx/files/genssl.sh +++ b/ansible/roles/nginx/files/genssl.sh @@ -4,8 +4,9 @@ set -e SCRIPTDIR="$(cd $(dirname "$0")/ && pwd)" -if [ "$#" -ne 1 ]; then - echo "usage: $0 [common name: host or ip]" +if [ "$#" -lt 2 ]; then + echo "usage: $0 <common name: host or ip> [server|client]" + exit fi CN=$1 TYPE=$2 -- To stop receiving notification emails like this one, please contact ['"commits@openwhisk.apache.org" <commits@openwhisk.apache.org>'].