From fa83916d7d808ac743428694ec2e66f9f6827cf7 Mon Sep 17 00:00:00 2001 From: Alexis Mousset Date: Mon, 8 Dec 2014 02:33:15 +0100 Subject: [PATCH] Use cargo run --example for the README example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 40f7e1e..bcf397c 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Example There is an example command-line program included: ```sh $ cargo test -$ env RUST_LOG=info ./target/examples/client -s "My subject" -r sender@localhost recipient@localhost < email.txt +$ env RUST_LOG=info cargo run --example client -- -s "My subject" -r sender@localhost recipient@localhost < email.txt INFO:smtp::client: connection established to 127.0.0.1:25 INFO:smtp::client: from=, size=989, nrcpt=1 INFO:smtp::client: to=, status=sent (250 2.0.0 Ok: queued as 9D28F1C0A51)