From 2c9ffd47391b8dec98db94bef9b2f5c14a57cf94 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 7 Oct 2020 10:46:10 +1100 Subject: CLI: update subcommands to use return instead of exit() (#10323) --- lib/python/qmk/cli/json/keymap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python/qmk/cli/json') diff --git a/lib/python/qmk/cli/json/keymap.py b/lib/python/qmk/cli/json/keymap.py index c97a2d0462..2af9faaa72 100755 --- a/lib/python/qmk/cli/json/keymap.py +++ b/lib/python/qmk/cli/json/keymap.py @@ -13,4 +13,4 @@ def json_keymap(cli): """Renamed to `qmk json2c`. """ cli.log.error('This command has been renamed to `qmk json2c`.') - exit(1) + return False -- cgit v1.2.3