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 --- subcmds/abandon.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'subcmds/abandon.py') diff --git a/subcmds/abandon.py b/subcmds/abandon.py index b82a2dbf..ea3f4ed0 100644 --- a/subcmds/abandon.py +++ b/subcmds/abandon.py @@ -37,10 +37,6 @@ It is equivalent to "git branch -D ". PARALLEL_JOBS = DEFAULT_LOCAL_JOBS def _Options(self, p): - super()._Options(p) - p.add_option('-q', '--quiet', - action='store_true', default=False, - help='be quiet') p.add_option('--all', dest='all', action='store_true', help='delete all branches in all projects') -- cgit v1.2.3-54-g00ecf