audit_report: Use common rewrite rules argument for consistency.
This commit is contained in:
parent
d9360f1cea
commit
0054465ce5
1 changed files with 1 additions and 9 deletions
|
@ -65,6 +65,7 @@ def parse_arguments(arglist: Optional[Sequence[str]]=None) -> argparse.Namespace
|
||||||
help="""Display progress information
|
help="""Display progress information
|
||||||
""")
|
""")
|
||||||
cliutil.add_jobs_argument(parser)
|
cliutil.add_jobs_argument(parser)
|
||||||
|
cliutil.add_rewrite_rules_argument(parser)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--output-directory', '-O',
|
'--output-directory', '-O',
|
||||||
metavar='DIR',
|
metavar='DIR',
|
||||||
|
@ -76,15 +77,6 @@ Default is a newly-created directory under your repository.
|
||||||
'--force',
|
'--force',
|
||||||
action='store_true',
|
action='store_true',
|
||||||
help="""Run reports even if bean-check reports errors.
|
help="""Run reports even if bean-check reports errors.
|
||||||
""")
|
|
||||||
parser.add_argument(
|
|
||||||
'--rewrite-rules', '--rewrite', '-r',
|
|
||||||
metavar='PATH',
|
|
||||||
action='append',
|
|
||||||
type=Path,
|
|
||||||
default=[],
|
|
||||||
help="""Path to rewrite rules for the balance sheet.
|
|
||||||
Passed to `balance-sheet-report -r`.
|
|
||||||
""")
|
""")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'audit_year',
|
'audit_year',
|
||||||
|
|
Loading…
Reference in a new issue