misc: Fix -q (quiet) flag
authorStan Czerniawski <stan.czerniawski@arm.com>
Sun, 23 Mar 2014 15:11:49 +0000 (11:11 -0400)
committerStan Czerniawski <stan.czerniawski@arm.com>
Sun, 23 Mar 2014 15:11:49 +0000 (11:11 -0400)
Check the right flag.

src/python/m5/main.py

index 6a6dfa7722389ad33fc49a623f2b8145c4ac6658..29459cf647513668332b27d5fbb8215604ddf80d 100644 (file)
@@ -282,7 +282,7 @@ def main(*args):
         options.usage(2)
 
     verbose = options.verbose - options.quiet
-    if options.verbose >= 0:
+    if verbose >= 0:
         print "gem5 Simulator System.  http://gem5.org"
         print brief_copyright
         print