summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Górny <gentoo@mgorny.alt.pl>2010-07-12 10:17:53 +0200
committerZac Medico <zmedico@gentoo.org>2010-07-12 01:20:57 -0700
commit32264c30d8fc23f08f30f1488a1fa68d1f2cfc34 (patch)
treed5dc664fb89bc07251a5ea3cd49abf9b621549d1
parentd0b7c3d7ff9b89d700b4dfd0cd51705aa02bd48e (diff)
downloadportage-32264c30d8fc23f08f30f1488a1fa68d1f2cfc34.tar.gz
portage-32264c30d8fc23f08f30f1488a1fa68d1f2cfc34.tar.bz2
portage-32264c30d8fc23f08f30f1488a1fa68d1f2cfc34.zip
Fix 'repoman --ask' to not require an argument.
Overnight patches have the tendency to be bugged. Now 'repoman --ask' should work like a normal flag.
-rwxr-xr-xbin/repoman2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 3532c4b2b..8834b642b 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -164,7 +164,7 @@ def ParseArgs(args, qahelp):
parser.description += "\nDistributed under the terms of the GNU General Public License v2"
parser.description += "\nmodes: " + " | ".join(map(green,mode_keys))
- parser.add_option('-a', '--ask', dest='ask',
+ parser.add_option('-a', '--ask', dest='ask', action='store_true', default=False,
help='Request a confirmation before commiting')
parser.add_option('-m', '--commitmsg', dest='commitmsg',