Commit eae96d93 authored by scmalte's avatar scmalte

moss.py: renamed variable

parent 4de5bf97
......@@ -10,7 +10,7 @@ DEFAULT_NUMBER_OF_MATCHING_FILES=1000 # -n in Moss
DEFAULT_TEMPLATE=None
DEFAULT_FILE_PATTERN="./*/main.cpp"
DEFAULT_REPORT_FILE="moss-report.html"
DEFAULT_REPORT_SUBDIR="_moss-report"
DEFAULT_REPORT_DIR="_moss-report"
DEFAULT_CONNECTIONS=8
def run_moss(
......@@ -21,7 +21,7 @@ def run_moss(
template=DEFAULT_TEMPLATE,
file_pattern=DEFAULT_FILE_PATTERN,
report_file=DEFAULT_REPORT_FILE,
report_subdir=DEFAULT_REPORT_SUBDIR,
report_subdir=DEFAULT_REPORT_DIR,
connections=DEFAULT_CONNECTIONS):
# Assemble Moss comment string, starting with functions (local) arguments
......@@ -117,8 +117,8 @@ def configure_cli_parser(parser):
parser.add_argument(
"-rd", "--report-dir",
type=str,
default=DEFAULT_REPORT_SUBDIR,
help="Directory for individual report files (default: {})".format(DEFAULT_REPORT_SUBDIR))
default=DEFAULT_REPORT_DIR,
help="Directory for individual report files (default: {})".format(DEFAULT_REPORT_DIR))
logutils.add_loglevel_argument(parser)
......
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