aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorGravatar Erovia <erovia@users.noreply.github.com>2020-03-22 19:48:30 +0100
committerGravatar skullydazed <skullydazed@users.noreply.github.com>2020-04-08 09:31:14 -0700
commit5cfc3ce02e3c8007ac42e8089ecc895771bb3bfb (patch)
treecd57c376585c927e353190a785810b68ad9f9594 /bin
parent724f20ed32758b0c5d91ad4b7ba4a9348e152eeb (diff)
downloadqmk_firmware-5cfc3ce02e3c8007ac42e8089ecc895771bb3bfb.tar.gz
Rebase on master, hide some other subcommands
The list of hidden subcommands were approved by @skullydazed ;) Currently hidden if 'user.developer' is not True: - cformat - docs - kle2json - pyformat - pytest
Diffstat (limited to 'bin')
-rwxr-xr-xbin/qmk2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/qmk b/bin/qmk
index b83f111e5..8225ba61c 100755
--- a/bin/qmk
+++ b/bin/qmk
@@ -24,7 +24,7 @@ def _check_modules(requirements):
for line in fd.readlines():
line = line.strip().replace('<', '=').replace('>', '=')
- if len(line) == 0 or line[0] == '#' or '-r' in line:
+ if len(line) == 0 or line[0] == '#' or line.startswith('-r'):
continue
if '#' in line: