Commit a6220d1b authored by maruel@chromium.org's avatar maruel@chromium.org

Reduce log level to sanity.

TEST=use -v -v
BUG=none

Review URL: http://codereview.chromium.org/523099

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35648 0039d316-1c4b-4281-b951-d872f2087c98
parent b6d36495
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment