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

hider parser from help

parent 5c5144d4
Pipeline #456903 passed with stage
in 1 minute and 55 seconds
......@@ -65,13 +65,13 @@ def _make_parser():
# Create argument parser with default values
parser = _make_parser()
__doc__ += parser.format_help()
_parser = _make_parser()
__doc__ += _parser.format_help()
def main(args):
# Argument handling
args = parser.parse_args(args)
args = _parser.parse_args(args)
infolder = args.infolder
csv = args.csv
outfolder = args.outfolder
......
......@@ -61,8 +61,8 @@ def _make_parser():
# Create argument parser with default values
parser = _make_parser()
__doc__ += parser.format_help()
_parser = _make_parser()
__doc__ += _parser.format_help()
def main(args):
......@@ -74,7 +74,7 @@ def main(args):
"""
# Argument handling
args = parser.parse_args(args)
args = _parser.parse_args(args)
infolder = args.infolder
outfolder = args.outfolder
......
......@@ -172,8 +172,8 @@ def _make_parser():
# Create argument parser with default values
parser = _make_parser()
__doc__ += parser.format_help()
_parser = _make_parser()
__doc__ += _parser.format_help()
def main(args):
......@@ -181,7 +181,7 @@ def main(args):
"""
# Parse input arguments
args = parser.parse_args(args)
args = _parser.parse_args(args)
infolder = args.infolder
sheet_csv = args.csv
outzip = args.outzip
......
......@@ -57,8 +57,8 @@ def _make_parser():
# Create argument parser with default values
parser = _make_parser()
__doc__ += parser.format_help()
_parser = _make_parser()
__doc__ += _parser.format_help()
def main(args):
......@@ -74,7 +74,7 @@ def main(args):
"""
# Argument handling
args = parser.parse_args(args)
args = _parser.parse_args(args)
inzip = args.inzip
outfolder = args.outfolder
sheet_csv = args.csv
......
......@@ -56,8 +56,8 @@ def _make_parser():
# Create argument parser with default values
parser = _make_parser()
__doc__ += parser.format_help()
_parser = _make_parser()
__doc__ += _parser.format_help()
def main(args):
......@@ -65,7 +65,7 @@ def main(args):
"""
# Parse input arguments
args = parser.parse_args(args)
args = _parser.parse_args(args)
infolder = args.infolder
sheet_csv = args.csv
outfolder = args.outfolder
......
......@@ -107,8 +107,8 @@ def _make_parser():
# Create argument parser with default values
parser = _make_parser()
__doc__ += parser.format_help()
_parser = _make_parser()
__doc__ += _parser.format_help()
def main(args):
......@@ -116,7 +116,7 @@ def main(args):
"""
# Argument handling
args = parser.parse_args(args)
args = _parser.parse_args(args)
supp_dir = args.infolder
prefixinfo = args.prefix
prefixformat = args.filenameformat
......
......@@ -272,8 +272,8 @@ def _make_parser():
# Create argument parser with default values
parser = _make_parser()
__doc__ += parser.format_help()
_parser = _make_parser()
__doc__ += _parser.format_help()
def main(args):
......@@ -287,7 +287,7 @@ def main(args):
"""
# Argument handling
args = parser.parse_args(args)
args = _parser.parse_args(args)
infolder = args.infolder
outfolder = args.outfolder
tmpdir = args.tmp
......
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