From 4566efae3f30c1d6f7d3d59bd5d681079670b922 Mon Sep 17 00:00:00 2001 From: Shy Date: Mon, 10 Apr 2017 15:47:24 +0200 Subject: [PATCH] Fixed help message --- c4ctrl.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/c4ctrl.py b/c4ctrl.py index 5012b05..2502ce8 100755 --- a/c4ctrl.py +++ b/c4ctrl.py @@ -1189,9 +1189,10 @@ if __name__ == "__main__": # Switch control group_sw = parser.add_argument_group(title="light switch control", - description="BINARY_CODE is a string of 0s or 1s for every light in the \ - room. Accepts decimals also. May be prepended by '&' or '^' as AND or \ - OR operators. Will show some information and ask for input if omitted.") + description="BINARY_CODE is a string of 0s or 1s for every light in a \ + room. May be given as decimal. May be prepended by '&' or '|' as AND \ + or OR operators. Will show usage information and ask for input if \ + omitted.") group_sw.add_argument( "-W", nargs='?', dest="w_switch", const="", metavar="BINARY_CODE", help="switch lights in Wohnzimmer on/off")