changeset 28:ecd23f148769

script.maint.set_data: -r gots action store_true back
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 27 Feb 2011 22:01:47 +0100
parents e4ec9dc44adc
children 32b471240a8a
files MoinMoin/script/maint/
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/maint/	Sun Feb 27 21:54:56 2011 +0100
+++ b/MoinMoin/script/maint/	Sun Feb 27 22:01:47 2011 +0100
@@ -29,7 +29,7 @@
                help="The key you want to set/change in the new revision"),
         Option('--value', '-v', dest="text", type=unicode,
                help='The value to set for the given key.'),
-        Option('--remove', '-r', dest="remove", default=False,
+        Option('--remove', '-r', dest="remove", action='store_true', default=False,
                help='If you want to delete the key given, add this flag.'),
         Option('--pattern', '-p', dest="pattern", type=unicode, default='.*',
                help='Only perform the operation on items whose names match the pattern.')