1
0
Fork 0
forked from github/pelican

fixed a ValueError with -k option

This commit is contained in:
Florian Preinstorfer 2010-12-15 15:56:38 +01:00
commit 62bd20a844

View file

@ -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(',')]