From ee24dfbd2fbe19ab1b038f2e6c665422b3228fe0 Mon Sep 17 00:00:00 2001 From: Sebastian Geisler Date: Wed, 10 Jan 2018 17:20:18 +0100 Subject: [PATCH] show usage of remote flags in README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 6f8edcc..b5d3df5 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,12 @@ back the resulting target folder. This assumes that server and client are runnin the same rust version and have the same processor architecture. On the client `ssh` and `rsync` need to be installed. +If you want to pass remote flags you have to end the options/flags section using +`--`. E.g. to build in release mode and copy back the result use: +```bash +cargo remote -c -- build --release +``` + ### Configuration You can place a file called `.cargo-remote.toml` in the same directory as your `Cargo.toml`. There you can define a default remote build host and user. It can