From da45e5d8848246cddbce80ff56786bd7330ba5af Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Wed, 15 May 2013 17:34:45 +0900 Subject: [PATCH] Remove unused show_smart option on list and info commands Change-Id: Idf0e161a0b0cc23a5a3ee44d18cb797162cfdd7b --- subcmds/info.py | 2 +- subcmds/list.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subcmds/info.py b/subcmds/info.py index c10e56cd..d42860ae 100644 --- a/subcmds/info.py +++ b/subcmds/info.py @@ -27,7 +27,7 @@ class Info(PagedCommand): helpSummary = "Get info on the manifest branch, current branch or unmerged branches" helpUsage = "%prog [-dl] [-o [-b]] [...]" - def _Options(self, p, show_smart=True): + def _Options(self, p): p.add_option('-d', '--diff', dest='all', action='store_true', help="show full info and commit diff including remote branches") diff --git a/subcmds/list.py b/subcmds/list.py index a3358245..945c28d8 100644 --- a/subcmds/list.py +++ b/subcmds/list.py @@ -31,7 +31,7 @@ List all projects; pass '.' to list the project for the cwd. This is similar to running: repo forall -c 'echo "$REPO_PATH : $REPO_PROJECT"'. """ - def _Options(self, p, show_smart=True): + def _Options(self, p): p.add_option('-r', '--regex', dest='regex', action='store_true', help="Filter the project list based on regex or wildcard matching of strings")