From 9180a07b8fb33d5ba0b82facf987b51ca7b15dc4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 13 Apr 2021 14:57:40 -0400 Subject: command: make --verbose/--quiet available to all subcommands Add new CommonOptions entry points to move the existing --jobs to, and relocate all --verbose/--quiet options to that. This provides both a consistent interface for users as well as for code. Change-Id: Ifaf83b88872421f4749b073c472b4a67ca6c0437 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/303224 Reviewed-by: Raman Tenneti Tested-by: Mike Frysinger --- main.py | 1 + 1 file changed, 1 insertion(+) (limited to 'main.py') diff --git a/main.py b/main.py index 9abda6a9..8aba2ec2 100755 --- a/main.py +++ b/main.py @@ -257,6 +257,7 @@ class _Repo(object): git_trace2_event_log.CommandEvent(name='repo', subcommands=[name]) try: + cmd.CommonValidateOptions(copts, cargs) cmd.ValidateOptions(copts, cargs) result = cmd.Execute(copts, cargs) except (DownloadError, ManifestInvalidRevisionError, -- cgit v1.2.3-54-g00ecf