Skip to content

Commit

Permalink
Remove deprecated MooseDocs check command flags
Browse files Browse the repository at this point in the history
They no longer do anything except display a printed line stating their deprecation

Refs idaholab#29573
  • Loading branch information
cticenhour committed Dec 18, 2024
1 parent 44129ac commit 92ef6c6
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions python/MooseDocs/commands/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ def command_line_options(subparser, parent):
parser.add_argument('--show-warnings', action='store_true',
help='Display all report warnings.')

parser.add_argument('--generate', nargs='+', default=None, help='Deprecated')
parser.add_argument('--dump', nargs='+', default=None, help='Deprecated')

parser.add_argument('--app-reports', nargs='+', default=None,
help='Limit to the following application reports (e.g. --app-reports navier_stokes')
parser.add_argument('--req-reports', nargs='+', default=None,
Expand Down Expand Up @@ -88,14 +85,6 @@ def main(opt):
if opt.req_reports and req_reports:
req_reports = [report for report in req_reports if report.title in opt.req_reports]

# Apply --generate option
if opt.generate:
print("The --generate option has been replaced by./moosedocs.py generate.")

# Apply --dump option
if opt.dump:
print("The --dump option has been replaced by./moosedocs.py syntax.")

# Apply 'show_warnings' option
if opt.show_warnings:
_enable_warnings(app_reports)
Expand Down

0 comments on commit 92ef6c6

Please sign in to comment.