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/list.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'subcmds/list.py') diff --git a/subcmds/list.py b/subcmds/list.py index 4338e1c9..df9ce5f6 100644 --- a/subcmds/list.py +++ b/subcmds/list.py @@ -40,7 +40,6 @@ This is similar to running: repo forall -c 'echo "$REPO_PATH : $REPO_PROJECT"'. p.add_option( "-r", "--regex", - dest="regex", action="store_true", help="filter the project list based on regex or wildcard matching " "of strings", @@ -48,7 +47,6 @@ This is similar to running: repo forall -c 'echo "$REPO_PATH : $REPO_PROJECT"'. p.add_option( "-g", "--groups", - dest="groups", help="filter the project list based on the groups the project is " "in", ) @@ -61,21 +59,18 @@ This is similar to running: repo forall -c 'echo "$REPO_PATH : $REPO_PROJECT"'. p.add_option( "-n", "--name-only", - dest="name_only", action="store_true", help="display only the name of the repository", ) p.add_option( "-p", "--path-only", - dest="path_only", action="store_true", help="display only the path of the repository", ) p.add_option( "-f", "--fullpath", - dest="fullpath", action="store_true", help="display the full work tree path instead of the relative path", ) -- cgit v1.2.3-54-g00ecf