summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli
diff options
context:
space:
mode:
authorZach White <skullydazed@gmail.com>2021-08-28 23:02:31 -0700
committerGitHub <noreply@github.com>2021-08-28 23:02:31 -0700
commitc729df09cacb81111a9830a8c3b75210a64d3198 (patch)
treec29528076aa530e5ab9580162a74e0116c4a65cd /lib/python/qmk/cli
parent566d59851634bf0ffb5b95dd85f65858b0905dc7 (diff)
fix automatic directory for qmk lint (#14215)
Diffstat (limited to 'lib/python/qmk/cli')
-rw-r--r--lib/python/qmk/cli/lint.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/python/qmk/cli/lint.py b/lib/python/qmk/cli/lint.py
index 008ec1393d..96593ed69b 100644
--- a/lib/python/qmk/cli/lint.py
+++ b/lib/python/qmk/cli/lint.py
@@ -58,10 +58,10 @@ def rules_mk_assignment_only(keyboard_path):
return errors
-@cli.argument('--strict', action='store_true', help='Treat warnings as errors.')
-@cli.argument('-kb', '--keyboard', completer=keyboard_completer, help='The keyboard to check.')
-@cli.argument('-km', '--keymap', help='The keymap to check.')
-@cli.argument('--all-kb', action='store_true', arg_only=True, help='Check all keyboards.')
+@cli.argument('--strict', action='store_true', help='Treat warnings as errors')
+@cli.argument('-kb', '--keyboard', completer=keyboard_completer, help='Comma separated list of keyboards to check')
+@cli.argument('-km', '--keymap', help='The keymap to check')
+@cli.argument('--all-kb', action='store_true', arg_only=True, help='Check all keyboards')
@cli.subcommand('Check keyboard and keymap for common mistakes.')
@automagic_keyboard
@automagic_keymap
@@ -81,7 +81,7 @@ def lint(cli):
cli.print_help()
return False
else:
- keyboard_list = cli.args.keyboard.split(',')
+ keyboard_list = cli.config.lint.keyboard.split(',')
# Lint each keyboard
for kb in keyboard_list: