Selaa lähdekoodia

readme: move invocation from setup to usage section

Fabian Peter Hammerle 2 kuukautta sitten
vanhempi
commit
27d9d6f932
1 muutettua tiedostoa jossa 6 lisäystä ja 1 poistoa
  1. 6 1
      README.md

+ 6 - 1
README.md

@@ -13,7 +13,6 @@ MQTT client triggering & reporting shutdown on [systemd](https://freedesktop.org
 
 ```sh
 $ pip3 install --user --upgrade systemctl-mqtt
-$ systemctl-mqtt --mqtt-host HOSTNAME_OR_IP_ADDRESS
 ```
 
 On debian-based systems, a subset of dependencies can optionally be installed via:
@@ -23,6 +22,12 @@ $ sudo apt-get install --no-install-recommends python3-jeepney python3-paho-mqtt
 
 ## Usage
 
+```sh
+$ systemctl-mqtt --mqtt-host HOSTNAME_OR_IP_ADDRESS
+```
+
+`systemctl-mqtt --help` explains all available command-line options / parameters.
+
 ### Schedule Poweroff
 
 Schedule poweroff by sending a MQTT message to topic `systemctl/hostname/poweroff`.