diff options
author | Clément Bénier <clement.benier@iot.bzh> | 2018-10-25 10:29:59 +0200 |
---|---|---|
committer | Clément Bénier <clement.benier@iot.bzh> | 2018-10-25 10:29:59 +0200 |
commit | aa3930a9a9a76778f42de643831c27081e6bfb05 (patch) | |
tree | f0770b6567f60910de2edba8b4de073c44d53c46 /setupdocs.sh | |
parent | 3e43a348cf7e3d9bfb9911e23ab4672a6d365cac (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>
Diffstat (limited to 'setupdocs.sh')
-rwxr-xr-x | setupdocs.sh | 6 |
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;; |