renamed command line arg to print key names

pull/14/head
sezanzeb 4 years ago
parent 3b6df2a7ac
commit b3687f6627

@ -37,7 +37,7 @@ delay of 10ms that can be configured in `~/.config/key-mapper/config`.
##### Key Names
Run `key-mapper-service --names` for a list of supported keys for
Run `key-mapper-service --key-names` for a list of supported keys for
the middle column. Examples:
- Alphanumeric `a` to `z` and `0` to `9`

@ -66,7 +66,7 @@ if __name__ == '__main__':
default=False
)
parser.add_argument(
'-n', '--names', action='store_true', dest='names',
'-n', '--key-names', action='store_true', dest='key_names',
help='Print all available names for the mapping',
default=False
)
@ -85,7 +85,7 @@ if __name__ == '__main__':
add_filehandler()
log_info()
if options.names:
if options.key_names:
# TODO test
print('\n'.join(system_mapping.list_names()))
sys.exit(0)

@ -690,7 +690,7 @@
"r(3, k(a).w(500))", "h(a).k(b)"
"m(Control_L, k(a).k(x))"
Run `key-mapper-service --names` for more
Run `key-mapper-service --key-names` for more
Macros:
- r: repeats the execution of the second parameter

Loading…
Cancel
Save