summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/cli/hello.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/qmk/cli/hello.py')
-rwxr-xr-xlib/python/qmk/cli/hello.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/qmk/cli/hello.py b/lib/python/qmk/cli/hello.py
index bc0cb6de18..bee28c3013 100755
--- a/lib/python/qmk/cli/hello.py
+++ b/lib/python/qmk/cli/hello.py
@@ -6,8 +6,8 @@ from milc import cli
@cli.argument('-n', '--name', default='World', help='Name to greet.')
-@cli.entrypoint('QMK Hello World.')
-def main(cli):
+@cli.subcommand('QMK Hello World.')
+def hello(cli):
"""Log a friendly greeting.
"""
- cli.log.info('Hello, %s!', cli.config.general.name)
+ cli.log.info('Hello, %s!', cli.config.hello.name)