diff options
Diffstat (limited to 'lib/python/qmk/cli/hello.py')
-rwxr-xr-x | lib/python/qmk/cli/hello.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/qmk/cli/hello.py b/lib/python/qmk/cli/hello.py index bc0cb6de1..bee28c301 100755 --- a/lib/python/qmk/cli/hello.py +++ b/lib/python/qmk/cli/hello.py | |||
@@ -6,8 +6,8 @@ from milc import cli | |||
6 | 6 | ||
7 | 7 | ||
8 | @cli.argument('-n', '--name', default='World', help='Name to greet.') | 8 | @cli.argument('-n', '--name', default='World', help='Name to greet.') |
9 | @cli.entrypoint('QMK Hello World.') | 9 | @cli.subcommand('QMK Hello World.') |
10 | def main(cli): | 10 | def hello(cli): |
11 | """Log a friendly greeting. | 11 | """Log a friendly greeting. |
12 | """ | 12 | """ |
13 | cli.log.info('Hello, %s!', cli.config.general.name) | 13 | cli.log.info('Hello, %s!', cli.config.hello.name) |