summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/flash.py
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2019-11-16 07:10:19 +0000
committerFlorian Didron <fdidron@users.noreply.github.com>2020-01-09 08:57:11 +0900
commit6f57ecc58e85fd9bb6eba7d2b4f7a1e07b9f64bb (patch)
treef5f636294591091b35a522dd46a9256e874b5a67 /lib/python/qmk/cli/flash.py
parentd459da0c9587a1e86d86d4773e5acd7dbbc9da9a (diff)
format code according to conventions [skip ci]
Diffstat (limited to 'lib/python/qmk/cli/flash.py')
-rw-r--r--lib/python/qmk/cli/flash.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/flash.py b/lib/python/qmk/cli/flash.py
index 8f7bb55a22..37556aaafd 100644
--- a/lib/python/qmk/cli/flash.py
+++ b/lib/python/qmk/cli/flash.py
@@ -32,6 +32,7 @@ def print_bootloader_help():
cli.echo('\tst-link-cli')
cli.echo('For more info, visit https://docs.qmk.fm/#/flashing')
+
@cli.argument('-bl', '--bootloader', default='flash', help='The flash command, corresponding to qmk\'s make options of bootloaders.')
@cli.argument('filename', nargs='?', arg_only=True, help='The configurator export JSON to compile. Use this if you dont want to specify a keymap and keyboard.')
@cli.argument('-km', '--keymap', help='The keymap to build a firmware for. Use this if you dont have a configurator file. Ignored when a configurator file is supplied.')
@@ -84,4 +85,4 @@ def flash(cli):
return False
cli.log.info('Flashing keymap with {fg_cyan}%s\n\n', ' '.join(command))
- subprocess.run(command) \ No newline at end of file
+ subprocess.run(command)