From 32264c30d8fc23f08f30f1488a1fa68d1f2cfc34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 12 Jul 2010 10:17:53 +0200 Subject: 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. --- bin/repoman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- cgit v1.2.3-1-g7c22