From: Michał Górny Date: Mon, 12 Jul 2010 08:17:53 +0000 (+0200) Subject: Fix 'repoman --ask' to not require an argument. X-Git-Tag: v2.2_rc68~516 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=32264c30d8fc23f08f30f1488a1fa68d1f2cfc34;p=portage.git 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. --- 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',