From 32264c30d8fc23f08f30f1488a1fa68d1f2cfc34 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 12 Jul 2010 10:17:53 +0200 Subject: [PATCH] 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', -- 2.26.2