Fix README: arguments are positional, not flags

This commit is contained in:
Ollo
2026-02-27 19:03:55 +01:00
parent 555c1d76c0
commit c40b3b7269

View File

@@ -12,7 +12,13 @@ A simple Rust application that publishes messages to an MQTT broker.
## Usage ## Usage
```bash ```bash
cargo run -- --broker 192.168.1.100 --port 1883 cargo run -- 192.168.1.100 1883
```
Or run the binary directly:
```bash
./target/debug/mqtt-publisher [broker] [port]
``` ```
### Arguments ### Arguments