summaryrefslogtreecommitdiff
path: root/update.py
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2017-09-18 14:38:38 -0700
committerDan Albert <danalbert@google.com>2017-09-18 17:13:34 -0700
commit7c75aef671d48c8abc5a53c673e92d6d54129f3d (patch)
treeb8275739933ea344a86b7d25fa6b577c7b7aea06 /update.py
parent03441d9c7276161225a04bd651eb45be84538423 (diff)
downloadndk-7c75aef671d48c8abc5a53c673e92d6d54129f3d.tar.gz
Fix default arguments for update.py.
Test: ./update.py $SOME_BUILD Bug: None Change-Id: I0b325ef62ff83ed4ed10c3c1567dedbb4ad07f83
Diffstat (limited to 'update.py')
-rwxr-xr-xupdate.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/update.py b/update.py
index 1620f6df4..f13eca1f1 100755
--- a/update.py
+++ b/update.py
@@ -141,7 +141,8 @@ def get_args():
'--use-current-branch', action='store_true',
help='Perform the update in the current branch. Do not repo start.')
parser.add_argument(
- '-v', '--verbose', action='count', help='Increase output verbosity.')
+ '-v', '--verbose', action='count', default=0,
+ help='Increase output verbosity.')
return parser.parse_args()