On 30/01/12 08:11 -0500, Mo Morsi wrote:
slightly expanded / more robust approach than the fix presently in
the repo
In some ways I can see this, saying debug always overrides verbose,
but I am not entirely sure that is what the user would expect.
Anyway, I propose we table this for now and revamp the flags a bit for the next
release, as there is already a patch in staging for this and the BZ
has been moved to modified. There are more than enough other BZs that
are awaiting fixes that our time would be better spent on.
---
bin/aeolus-configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bin/aeolus-configure b/bin/aeolus-configure
index 6fa83b3..63a594e 100755
--- a/bin/aeolus-configure
+++ b/bin/aeolus-configure
@@ -45,7 +45,7 @@ while true ; do
case "$1" in
-h|--help) usage ; exit 1 ; shift ;;
-d|--debug) LOGLEVEL="--debug" ; shift ;;
- -v|--verbose) LOGLEVEL="--verbose" ; shift ;;
+ -v|--verbose) LOGLEVEL="${LOGLEVEL:-"--verbose"}" ;
shift ;;
-p|--profile) PUPPET_NODE=$2 ; shift ; shift ;;
--) shift ; break ;;
*) usage ; exit 1 ;;
--
1.7.6.5