summaryrefslogtreecommitdiff
path: root/bin/qmk
diff options
context:
space:
mode:
authorErovia <erovia@users.noreply.github.com>2020-03-22 19:48:30 +0100
committerFlorian Didron <fdidron@users.noreply.github.com>2020-06-12 17:00:27 +0900
commit874a6c9076bb89999f87f6285cd946adf6129a15 (patch)
treec45faef59d48b6f99d534ba3a80ccd58d1931ae7 /bin/qmk
parentc64bbdbc4bbd2dd07323edbb353bd5f31a1a86fa (diff)
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/qmk')
-rwxr-xr-xbin/qmk2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/qmk b/bin/qmk
index b83f111e55..8225ba61cd 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: