diff options
| author | Yuval Adam <_@yuv.al> | 2021-05-18 20:05:21 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2021-05-18 20:05:21 +0300 |
| commit | 32159cff9b0fb9c8dfe3106b877224cb7e236352 (patch) | |
| tree | 9a4c433732b61b7e6503d7794bdb726115afb5f4 | |
| parent | bcf6a5f0df5154429870015745e22ad12c1b2cbd (diff) | |
Move argument orderv1.3.0
| -rw-r--r-- | alarmpy/alarmpy.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/alarmpy/alarmpy.py b/alarmpy/alarmpy.py index 248b326..115a6a3 100644 --- a/alarmpy/alarmpy.py +++ b/alarmpy/alarmpy.py @@ -228,6 +228,11 @@ class Alarm: @click.option("--repeat-alarms", is_flag=True, help="Do not suppress ongoing alarms") @click.option("--quiet", is_flag=True, help="Print only active alarms") @click.option( + "--desktop-notifications", + is_flag=True, + help="Create push notifications on your desktop notification center (currently only in Mac OS)", +) +@click.option( "--mqtt-server", default=None, help="Hostname / IP of MQTT server (optional)" ) @click.option( @@ -240,11 +245,6 @@ class Alarm: default=None, help="Payload value to filter before sending as a message (semicolon separated)", ) -@click.option( - "--desktop-notifications", - is_flag=True, - help="Create push notifications on your desktop notification center (currently only in Mac OS)", -) def cli(**kwargs): Alarm(**kwargs).start() |
