diff options
| author | Mike Frysinger <vapier@google.com> | 2021-04-13 14:57:40 -0400 |
|---|---|---|
| committer | Mike Frysinger <vapier@google.com> | 2021-04-13 22:25:17 +0000 |
| commit | 9180a07b8fb33d5ba0b82facf987b51ca7b15dc4 (patch) | |
| tree | 4c815bea7136115bf382a1bb75b89b67bd39bd61 /subcmds/abandon.py | |
| parent | f32f243ff8aaabe5287235015e1ce189da0123e3 (diff) | |
| download | git-repo-9180a07b8fb33d5ba0b82facf987b51ca7b15dc4.tar.gz | |
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 <rtenneti@google.com>
Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'subcmds/abandon.py')
| -rw-r--r-- | subcmds/abandon.py | 4 |
1 files changed, 0 insertions, 4 deletions
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 <branchname>". | |||
| 37 | PARALLEL_JOBS = DEFAULT_LOCAL_JOBS | 37 | PARALLEL_JOBS = DEFAULT_LOCAL_JOBS |
| 38 | 38 | ||
| 39 | def _Options(self, p): | 39 | def _Options(self, p): |
| 40 | super()._Options(p) | ||
| 41 | p.add_option('-q', '--quiet', | ||
| 42 | action='store_true', default=False, | ||
| 43 | help='be quiet') | ||
| 44 | p.add_option('--all', | 40 | p.add_option('--all', |
| 45 | dest='all', action='store_true', | 41 | dest='all', action='store_true', |
| 46 | help='delete all branches in all projects') | 42 | help='delete all branches in all projects') |
