Commit c99e0d44 authored by Christian Rohlfing's avatar Christian Rohlfing
Browse files

bugfix

parent c30c1589
......@@ -28,7 +28,7 @@ def _make_parser():
parser = argparse.ArgumentParser(
parents=[csv_parser],
description=__doc__,
description=__doc__, prog='batch.py',
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument(
......@@ -66,7 +66,6 @@ def _make_parser():
# Create argument parser with default values
_parser = _make_parser()
__doc__ += _parser.format_help()
def main(args):
......
......@@ -40,7 +40,7 @@ def encrypt(pdf_file, enc_file, password):
def _make_parser():
parser = argparse.ArgumentParser(
description=__doc__,
description=__doc__, prog='encrypt.py',
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument(
......@@ -62,7 +62,6 @@ def _make_parser():
# Create argument parser with default values
_parser = _make_parser()
__doc__ += _parser.format_help()
def main(args):
......
......@@ -147,7 +147,7 @@ def sanity_check(matnums_csv, matnums_folder):
def _make_parser():
csv_parser = moodle.get_moodle_csv_parser()
parser = argparse.ArgumentParser(
parents=[csv_parser],
parents=[csv_parser], prog='preparemoodle.py',
description=__doc__,
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
......@@ -173,7 +173,6 @@ def _make_parser():
# Create argument parser with default values
_parser = _make_parser()
__doc__ += _parser.format_help()
def main(args):
......
......@@ -27,7 +27,7 @@ def _make_parser():
parser = argparse.ArgumentParser(
parents=[csv_parser],
description=__doc__,
description=__doc__, prog='preparepdf.py',
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument(
......@@ -58,7 +58,6 @@ def _make_parser():
# Create argument parser with default values
_parser = _make_parser()
__doc__ += _parser.format_help()
def main(args):
......
......@@ -31,7 +31,7 @@ def _make_parser():
csv_parser = moodle.get_moodle_csv_parser()
parser = argparse.ArgumentParser(
parents=[csv_parser],
description=__doc__,
description=__doc__, prog='renamescans.py',
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument(
......@@ -57,7 +57,6 @@ def _make_parser():
# Create argument parser with default values
_parser = _make_parser()
__doc__ += _parser.format_help()
def main(args):
......
......@@ -83,7 +83,7 @@ def _make_parser():
parser = argparse.ArgumentParser(
parents=[csv_parser],
description=__doc__,
description=__doc__, prog='supplements.py',
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument(
......@@ -108,7 +108,6 @@ def _make_parser():
# Create argument parser with default values
_parser = _make_parser()
__doc__ += _parser.format_help()
def main(args):
......
......@@ -245,7 +245,7 @@ def watermark_pdf(input_dir, tmp_dir, output_dir,
def _make_parser():
parser = argparse.ArgumentParser(
description=__doc__,
description=__doc__, prog='watermark.py',
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument(
......@@ -273,7 +273,6 @@ def _make_parser():
# Create argument parser with default values
_parser = _make_parser()
__doc__ += _parser.format_help()
def main(args):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment