From 44351aaf3126ea54508aef0db92ad4f556dc4e34 Mon Sep 17 00:00:00 2001 From: dave mankoff Date: Sat, 9 Feb 2013 18:01:40 -0500 Subject: [PATCH] delete output directory properly --- pelican/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pelican/__init__.py b/pelican/__init__.py index f57d2af7..0e3db788 100644 --- a/pelican/__init__.py +++ b/pelican/__init__.py @@ -224,7 +224,9 @@ def parse_arguments(): parser.add_argument('-d', '--delete-output-directory', dest='delete_outputdir', - action='store_true', help='Delete the output directory.') + action='store_true', + default=None, + help='Delete the output directory.') parser.add_argument('-v', '--verbose', action='store_const', const=logging.INFO, dest='verbosity',