docs: correct docs
This commit is contained in:
parent
881094e484
commit
37df2dcc6d
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1272,7 +1272,7 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "voidpin"
|
name = "voidpin"
|
||||||
version = "0.1.0"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
@ -8,5 +8,5 @@ Voidpin sends clipboard content to a local service, that then puts content in a
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
voidpin copy
|
voidpin copy
|
||||||
VOIDPIN_REMOTE=10.0.9.1:19191 voidpin remote copy
|
VOIDPIN_REMOTE=http://10.0.9.1:19191 voidpin remote copy
|
||||||
```
|
```
|
||||||
|
@ -29,7 +29,7 @@ struct Command {
|
|||||||
#[derive(Subcommand)]
|
#[derive(Subcommand)]
|
||||||
enum Commands {
|
enum Commands {
|
||||||
Listen {
|
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,
|
grpc: SocketAddr,
|
||||||
},
|
},
|
||||||
Copy {},
|
Copy {},
|
||||||
@ -44,7 +44,7 @@ enum RemoteCommands {
|
|||||||
Copy {
|
Copy {
|
||||||
#[arg(
|
#[arg(
|
||||||
long = "remote-host",
|
long = "remote-host",
|
||||||
env = "VP_REMOTE_HOST",
|
env = "VOIDPIN_REMOTE",
|
||||||
default_value = "http://0.0.0.0:7900"
|
default_value = "http://0.0.0.0:7900"
|
||||||
)]
|
)]
|
||||||
remote_host: String,
|
remote_host: String,
|
||||||
|
Loading…
Reference in New Issue
Block a user