From 5cfc3ce02e3c8007ac42e8089ecc895771bb3bfb Mon Sep 17 00:00:00 2001 From: Erovia Date: Sun, 22 Mar 2020 19:48:30 +0100 Subject: 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 --- bin/qmk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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: -- cgit v1.2.3