mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
delete output directory properly
This commit is contained in:
parent
4a63695ae2
commit
44351aaf31
1 changed files with 3 additions and 1 deletions
|
|
@ -224,7 +224,9 @@ def parse_arguments():
|
||||||
|
|
||||||
parser.add_argument('-d', '--delete-output-directory',
|
parser.add_argument('-d', '--delete-output-directory',
|
||||||
dest='delete_outputdir',
|
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',
|
parser.add_argument('-v', '--verbose', action='store_const',
|
||||||
const=logging.INFO, dest='verbosity',
|
const=logging.INFO, dest='verbosity',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue