add --markup back to the file

Added --markup back and removed duplicate --output
This commit is contained in:
Patrick 2016-01-20 13:25:53 -08:00 committed by W7PEA
commit 46f0358935

View file

@ -786,14 +786,14 @@ def main():
parser.add_argument( parser.add_argument(
'--feed', action='store_true', dest='feed', '--feed', action='store_true', dest='feed',
help='Feed to parse') help='Feed to parse')
parser.add_argument(
'-o', '--output', dest='output', default='output',
help='Output path')
parser.add_argument( parser.add_argument(
'-o', '--output', dest='output', default='content', '-o', '--output', dest='output', default='content',
help=('Where to output the generated markup files. If not specified, ' help=('Where to output the generated markup files. If not specified, '
'a directory will be created, named "content" in the current ' 'a directory will be created, named "content" in the current '
'path.')) 'path.'))
parser.add_argument(
'-m', '--markup', dest='markup', default='rst',
help='Output markup format (supports rst & markdown)')
parser.add_argument( parser.add_argument(
'--dir-cat', action='store_true', dest='dircat', '--dir-cat', action='store_true', dest='dircat',
help='Put files in directories with categories name') help='Put files in directories with categories name')