Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(590)

Unified Diff: gclient.py

Issue 523099: Reduce log level to sanity. (Closed)
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient.py
diff --git a/gclient.py b/gclient.py
index 56924dca4a880fc7ee102208862ab7e57f3694e4..e6a6432f9a31baa4f05ecd82ba9094dc302e0fb0 100755
--- a/gclient.py
+++ b/gclient.py
@@ -1140,7 +1140,7 @@ def Main(argv):
option_parser.add_option("", "--spec", default=None,
help=("(config only) create a gclient file "
"containing the provided string"))
- option_parser.add_option("", "--verbose", action="store_true", default=False,
+ option_parser.add_option("-v", "--verbose", action="count", default=0,
help="produce additional output for diagnostics")
option_parser.add_option("", "--manually_grab_svn_rev", action="store_true",
default=False,
@@ -1174,7 +1174,7 @@ def Main(argv):
option_parser.print_help()
return 0
- if options.verbose:
+ if options.verbose > 1:
logging.basicConfig(level=logging.DEBUG)
# Files used for configuration and state saving.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698