mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Revert previously erased changes
This commit is contained in:
parent
d1b238638c
commit
1197e09626
1 changed files with 6 additions and 6 deletions
|
|
@ -303,7 +303,7 @@ def fields2pelican(fields, out_markup, output_path, dircat=False, strip_raw=Fals
|
||||||
def main():
|
def main():
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description="Transform feed, Wordpress or Dotclear files to reST (rst) "
|
description="Transform feed, Wordpress or Dotclear files to reST (rst) "
|
||||||
"or Markdown (md) files. Be sure to have pandoc installed",
|
"or Markdown (md) files. Be sure to have pandoc installed.",
|
||||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
|
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
|
||||||
|
|
||||||
parser.add_argument(dest='input', help='The input file to read')
|
parser.add_argument(dest='input', help='The input file to read')
|
||||||
|
|
@ -358,4 +358,4 @@ def main():
|
||||||
fields2pelican(fields, args.markup, args.output,
|
fields2pelican(fields, args.markup, args.output,
|
||||||
dircat=args.dircat or False,
|
dircat=args.dircat or False,
|
||||||
strip_raw=args.strip_raw or False,
|
strip_raw=args.strip_raw or False,
|
||||||
strip_slugs=args.disable_slugs or False)
|
disable_slugs=args.disable_slugs or False)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue