docs: correct docs

This commit is contained in:
Kasper Juul Hermansen 2025-01-14 08:19:38 +01:00
parent 881094e484
commit 37df2dcc6d
Signed by: kjuulh
SSH Key Fingerprint: SHA256:RjXh0p7U6opxnfd3ga/Y9TCo18FYlHFdSpRIV72S/QM
3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@ -1272,7 +1272,7 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
[[package]]
name = "voidpin"
version = "0.1.0"
version = "0.0.1"
dependencies = [
"anyhow",
"async-trait",

View File

@ -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
```

View File

@ -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,