From a345bbf5815c0a57734432295fb8a5b6b18f18ec Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Wed, 4 Aug 2010 23:53:24 +0200 Subject: [PATCH] [molecule] place --nocolor handling before --help, close bug 1685 --- molecule/cmdline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/molecule/cmdline.py b/molecule/cmdline.py index ecdc861..8612dc0 100644 --- a/molecule/cmdline.py +++ b/molecule/cmdline.py @@ -36,10 +36,10 @@ def parse(): myargs = sys.argv[1:] - if "--help" in myargs: - return data, [] if "--nocolor" in myargs: molecule.output.nocolor() + if "--help" in myargs: + return data, [] for arg in args_to_remove: if arg in myargs: