aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-04-08 14:16:15 +1000
committerGitHub <noreply@github.com>2021-04-08 14:16:15 +1000
commit2170b75b26d46c7f46ad281b6c2eacddadc9cb45 (patch)
tree4ae0fc93d02bb76541039be3067a7d93210eac9c /lib/python
parentd1270c9d5519c04ce9c6da3ad3d7a2a02ef255db (diff)
downloadqmk_firmware-2170b75b26d46c7f46ad281b6c2eacddadc9cb45.tar.gz
qmk_firmware-2170b75b26d46c7f46ad281b6c2eacddadc9cb45.zip
`qmk chibios-confmigrate`: Make `-i` and `-r` required (#12515)
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/qmk/cli/chibios/confmigrate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/cli/chibios/confmigrate.py b/lib/python/qmk/cli/chibios/confmigrate.py
index 89995931a..be1f2cd74 100644
--- a/lib/python/qmk/cli/chibios/confmigrate.py
+++ b/lib/python/qmk/cli/chibios/confmigrate.py
@@ -107,8 +107,8 @@ def migrate_mcuconf_h(to_override, outfile):
107 print("", file=outfile) 107 print("", file=outfile)
108 108
109 109
110@cli.argument('-i', '--input', type=normpath, arg_only=True, help='Specify input config file.') 110@cli.argument('-i', '--input', type=normpath, arg_only=True, required=True, help='Specify input config file.')
111@cli.argument('-r', '--reference', type=normpath, arg_only=True, help='Specify the reference file to compare against') 111@cli.argument('-r', '--reference', type=normpath, arg_only=True, required=True, help='Specify the reference file to compare against')
112@cli.argument('-o', '--overwrite', arg_only=True, action='store_true', help='Overwrites the input file during migration.') 112@cli.argument('-o', '--overwrite', arg_only=True, action='store_true', help='Overwrites the input file during migration.')
113@cli.argument('-d', '--delete', arg_only=True, action='store_true', help='If the file has no overrides, migration will delete the input file.') 113@cli.argument('-d', '--delete', arg_only=True, action='store_true', help='If the file has no overrides, migration will delete the input file.')
114@cli.argument('-f', '--force', arg_only=True, action='store_true', help='Re-migrates an already migrated file, even if it doesn\'t detect a full ChibiOS config.') 114@cli.argument('-f', '--force', arg_only=True, action='store_true', help='Re-migrates an already migrated file, even if it doesn\'t detect a full ChibiOS config.')