[molecule] place --nocolor handling before --help, close bug 1685

This commit is contained in:
Fabio Erculiani
2010-08-04 23:53:24 +02:00
parent e67f9e308a
commit a345bbf581
+2 -2
View File
@@ -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: