From 62bd20a844b794c3dcaaf573d3eb1c983e561766 Mon Sep 17 00:00:00 2001 From: Florian Preinstorfer Date: Wed, 15 Dec 2010 15:56:38 +0100 Subject: [PATCH] fixed a ValueError with -k option --- pelican/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican/__init__.py b/pelican/__init__.py index a4d76398..069b0c87 100644 --- a/pelican/__init__.py +++ b/pelican/__init__.py @@ -95,7 +95,7 @@ def main(): ' available.') parser.add_argument('-s', '--settings', dest='settings', help='the settings of the application. Default to None.') - parser.add_argument('-k', '--keep-output-directory', action='store_true', + parser.add_argument('-k', '--keep-output-directory', dest='keep', action='store_true', help='Keep the output directory and just update all the generated files. Default is to delete the output directory.') args = parser.parse_args() markup = [a.split()[0] for a in args.markup.split(',')]