forked from github/pelican
fixed a ValueError with -k option
This commit is contained in:
parent
3c8cafdc0d
commit
62bd20a844
1 changed files with 1 additions and 1 deletions
|
|
@ -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(',')]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue