Typo in help message.

This commit is contained in:
Shy 2024-03-21 14:29:14 +01:00
parent 1e5711b7c2
commit 2c31367345

View file

@ -1340,7 +1340,7 @@ if __name__ == "__main__": # {{{1
'^' as NOT, AND, OR and XOR operators. Current switch states will be \ '^' as NOT, AND, OR and XOR operators. Current switch states will be \
printed to stdout if BINARY_CODE is '-'. Will show usage information \ printed to stdout if BINARY_CODE is '-'. Will show usage information \
and ask for input if BINARY_CODE is omitted. Will read from stdin if \ and ask for input if BINARY_CODE is omitted. Will read from stdin if \
BINARY_CODE \ is omitted and stdin is not connected to a TTY.") BINARY_CODE is omitted and stdin is not connected to a TTY.")
group_sw.add_argument( group_sw.add_argument(
"-W", nargs='?', dest="w_switch", const="", metavar="BINARY_CODE", "-W", nargs='?', dest="w_switch", const="", metavar="BINARY_CODE",
help="switch lights and sockets in Wohnzimmer on/off") help="switch lights and sockets in Wohnzimmer on/off")