diff --git a/README.md b/README.md index 687a7b1..4743fec 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,13 @@ A simple Rust application that publishes messages to an MQTT broker. ## Usage ```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