aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bénier <clement.benier@iot.bzh>2018-10-25 10:29:59 +0200
committerClément Bénier <clement.benier@iot.bzh>2018-10-25 10:30:59 +0200
commitb6e943b95d953af64456a020f413c2f18708d9fd (patch)
tree4aa38d87adba55ea2bf9a471031b16d02a9a51a3
parentfbffc0f0665faae20254d51706dc1b05011dff0b (diff)
setupsdocs.sh: fix long option ref
--doctools-ref=[REFERENCE] --webtemplate-ref=[REFERENCE] Change-Id: Ib0c0b9a7169cc94f6e6a71d01172b885d3861e11 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
-rwxr-xr-xsetupdocs.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/setupdocs.sh b/setupdocs.sh
index 40807e5..431f86c 100755
--- a/setupdocs.sh
+++ b/setupdocs.sh
@@ -49,7 +49,7 @@ Usage: $PROGNAME [OPTIONS]... [DIRECTORY]
-h, --help print this help
-t, --doctools-ref=[REFERENCE] doctools reference;
REFERENCE can be a branch, a tag, a commit
- -w, --webtemplates-ref=[REFERENCE] webtemplates reference;
+ -w, --webtemplate-ref=[REFERENCE] webtemplates reference;
REFERENCE can be a branch, a tag, a commit
EOF
exit 1
@@ -67,9 +67,9 @@ eval set -- "$ARGS"
while [ "$#" -gt "1" ]; do
case "$1" in
- -w|--webtemplates-branch)
+ -w|--webtemplate-ref)
ref_docswebtemplate=$2;shift 2;;
- -t|--doctools-branch)
+ -t|--doctools-ref)
ref_doctools=$2; shift 2;;
-d|--directory)
DESTINATION=$2;shift 2;;