diff options
author | Erovia <erovia@users.noreply.github.com> | 2020-03-23 21:59:44 +0100 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2020-04-08 09:31:14 -0700 |
commit | 38f14c4174afe7c576e8bd032f18b1dcceaf9c77 (patch) | |
tree | c72ba64ba7a7a746c5c13c77af837dbbe5d3b32a /lib/python/qmk/cli/cformat.py | |
parent | eb683c8c52df7e3fb6d9829ec15c634e23e9f2ce (diff) | |
download | qmk_firmware-38f14c4174afe7c576e8bd032f18b1dcceaf9c77.tar.gz |
Don't hide for devs...
Diffstat (limited to 'lib/python/qmk/cli/cformat.py')
-rw-r--r-- | lib/python/qmk/cli/cformat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/cformat.py b/lib/python/qmk/cli/cformat.py index 48f8b9bcc..536ee30fd 100644 --- a/lib/python/qmk/cli/cformat.py +++ b/lib/python/qmk/cli/cformat.py @@ -35,7 +35,7 @@ def cformat_run(files, all_files): @cli.argument('-a', '--all-files', arg_only=True, action='store_true', help='Format all core files.') @cli.argument('-b', '--base-branch', default='origin/master', help='Branch to compare to diffs to.') @cli.argument('files', nargs='*', arg_only=True, help='Filename(s) to format.') -@cli.subcommand("Format C code according to QMK's style.", hidden=True) +@cli.subcommand("Format C code according to QMK's style.", hidden=False if cli.config.user.developer else True) def cformat(cli): """Format C code according to QMK's style. """ |