From 06338abe79f1fbef61f7297530ebf11139654d6c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 22 May 2025 14:14:45 -0400 Subject: subcmds: delete redundant dest= settings Add a test to enforce this too. Change-Id: I80b5cf567aa33db9c24b53428c66d69f9c1d8d74 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/478481 Commit-Queue: Mike Frysinger Tested-by: Mike Frysinger Reviewed-by: Scott Lee --- subcmds/upload.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'subcmds/upload.py') diff --git a/subcmds/upload.py b/subcmds/upload.py index 2837ff51..169a8b77 100644 --- a/subcmds/upload.py +++ b/subcmds/upload.py @@ -267,7 +267,6 @@ Gerrit Code Review: https://www.gerritcodereview.com/ "--cc", type="string", action="append", - dest="cc", help="also send email to these email addresses", ) p.add_option( @@ -281,7 +280,6 @@ Gerrit Code Review: https://www.gerritcodereview.com/ p.add_option( "-c", "--current-branch", - dest="current_branch", action="store_true", help="upload current git branch", ) @@ -310,7 +308,6 @@ Gerrit Code Review: https://www.gerritcodereview.com/ "-p", "--private", action="store_true", - dest="private", default=False, help="upload as a private change (deprecated; use --wip)", ) @@ -318,7 +315,6 @@ Gerrit Code Review: https://www.gerritcodereview.com/ "-w", "--wip", action="store_true", - dest="wip", default=False, help="upload as a work-in-progress change", ) -- cgit v1.2.3-54-g00ecf