From d469153bf624d137de4d75829808d90ddecb546d Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Thu, 23 Oct 2014 22:56:22 +0400 Subject: [PATCH] renommer la variable contenant les options --- apacheconfig | 2 +- lib/ulib/template | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apacheconfig b/apacheconfig index 60953f8..a3ce44c 100755 --- a/apacheconfig +++ b/apacheconfig @@ -135,7 +135,7 @@ wwwdir= certsconfdir= rrdir= restart=1 -__TEMPLATECTL_OTHER_OPTS=( +__TEMPLATECTL_SUPPLOPTS=( -u,--update update=1 -r:,--certsdir: certsdir= --confdir: confdir= diff --git a/lib/ulib/template b/lib/ulib/template index cd2a1b2..36d2aff 100644 --- a/lib/ulib/template +++ b/lib/ulib/template @@ -239,7 +239,7 @@ function templatesrc() { } function __templatectl_display_help() { :; } -__TEMPLATECTL_OTHER_OPTS=() +__TEMPLATECTL_SUPPLOPTS=() function __templatectl_parseopts() { parse_opts "${PRETTYOPTS[@]}" \ --help '$exit_with __templatectl_display_help' \ @@ -250,7 +250,7 @@ function __templatectl_parseopts() { -z,--unmerge '$unmerge=1; templatectl_opt=1' \ -C,--clean '$clean=1; templatectl_opt=1' \ -g,--diff '$diff=1; templatectl_opt=1' \ - "${__TEMPLATECTL_OTHER_OPTS[@]}" \ + "${__TEMPLATECTL_SUPPLOPTS[@]}" \ @ args -- "$@" } function __templatectl_do() {