Skip to content

Commit 6e23f99

Browse files
committed
Improved the help message for the run_yang_model_checks management command.
- Legacy-Id: 14267
1 parent 02ec2aa commit 6e23f99

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/utils/management/commands/run_yang_model_checks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Command(BaseCommand):
2727
help = dedent(__doc__).strip()
2828

2929
def add_arguments(self, parser):
30-
parser.add_argument('filenames', nargs="*")
30+
parser.add_argument('draftnames', nargs="*", help="drafts to check, or none to check all active yang drafts")
3131
parser.add_argument('--clean',
3232
action='store_true', dest='clean', default=False,
3333
help='Remove the current directory content before writing new models.')
@@ -65,7 +65,7 @@ def handle(self, *filenames, **options):
6565
"""
6666

6767
self.verbosity = int(options.get('verbosity'))
68-
filenames = options.get('filenames')
68+
filenames = options.get('draftnames')
6969

7070
active_state = State.objects.get(type="draft", slug="active")
7171

0 commit comments

Comments
 (0)