diff --git a/Cargo.lock b/Cargo.lock index d52e97e..8e96014 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1272,7 +1272,7 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "voidpin" -version = "0.1.0" +version = "0.0.1" dependencies = [ "anyhow", "async-trait", diff --git a/README.md b/README.md index fb4abc7..ad0e661 100644 --- a/README.md +++ b/README.md @@ -8,5 +8,5 @@ Voidpin sends clipboard content to a local service, that then puts content in a ```bash voidpin copy -VOIDPIN_REMOTE=10.0.9.1:19191 voidpin remote copy +VOIDPIN_REMOTE=http://10.0.9.1:19191 voidpin remote copy ``` diff --git a/crates/voidpin/src/main.rs b/crates/voidpin/src/main.rs index f350b37..02349ad 100644 --- a/crates/voidpin/src/main.rs +++ b/crates/voidpin/src/main.rs @@ -29,7 +29,7 @@ struct Command { #[derive(Subcommand)] enum Commands { Listen { - #[arg(long, env = "VP_GRPC_HOST", default_value = "0.0.0.0:7900")] + #[arg(long, env = "VOIDPIN_GRPC_HOST", default_value = "0.0.0.0:7900")] grpc: SocketAddr, }, Copy {}, @@ -44,7 +44,7 @@ enum RemoteCommands { Copy { #[arg( long = "remote-host", - env = "VP_REMOTE_HOST", + env = "VOIDPIN_REMOTE", default_value = "http://0.0.0.0:7900" )] remote_host: String,