diff --git a/conservancy_beancount/tools/audit_report.py b/conservancy_beancount/tools/audit_report.py index 428185d..0ecf869 100644 --- a/conservancy_beancount/tools/audit_report.py +++ b/conservancy_beancount/tools/audit_report.py @@ -65,6 +65,7 @@ def parse_arguments(arglist: Optional[Sequence[str]]=None) -> argparse.Namespace help="""Display progress information """) cliutil.add_jobs_argument(parser) + cliutil.add_rewrite_rules_argument(parser) parser.add_argument( '--output-directory', '-O', metavar='DIR', @@ -76,15 +77,6 @@ Default is a newly-created directory under your repository. '--force', action='store_true', 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( 'audit_year',