Skip to content

Commit 68257a6

Browse files
authored
Use WUSH_AUTH_KEY instead of WUSH_AUTH_key, remove mentions of wush receive (#29)
* cp.go & portforward.go: use `WUSH_AUTH_KEY`, not `WUSH_AUTH_key` * Replace `wush receive` with `wush serve`
1 parent 978134c commit 68257a6

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ coder@colin:~$
9595
9696
`wush` doesn't require you to trust any 3rd party authentication or relay
9797
servers, instead using x25519 keys to authenticate incoming connections. Auth
98-
keys generated by `wush receive` are separated into a couple parts:
98+
keys generated by `wush serve` are separated into a couple parts:
9999

100100
```text
101101
112v1RyL5KPzsbMbhT7fkEGrcfpygxtnvwjR5kMLGxDHGeLTK1BvoPqsUcjo7xyMkFn46KLTdedKuPCG5trP84mz9kx

cmd/wush/cp.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ func cpCmd() *serpent.Command {
212212
Options: []serpent.Option{
213213
{
214214
Flag: "auth-key",
215-
Env: "WUSH_AUTH_key",
216-
Description: "The auth key returned by " + cliui.Code("wush receive") + ". If not provided, it will be asked for on startup.",
215+
Env: "WUSH_AUTH_KEY",
216+
Description: "The auth key returned by " + cliui.Code("wush serve") + ". If not provided, it will be asked for on startup.",
217217
Default: "",
218218
Value: serpent.StringOf(&overlayOpts.authKey),
219219
},

cmd/wush/portforward.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ func portForwardCmd() *serpent.Command {
174174
Options: []serpent.Option{
175175
{
176176
Flag: "auth-key",
177-
Env: "WUSH_AUTH_key",
178-
Description: "The auth key returned by " + cliui.Code("wush receive") + ". If not provided, it will be asked for on startup.",
177+
Env: "WUSH_AUTH_KEY",
178+
Description: "The auth key returned by " + cliui.Code("wush serve") + ". If not provided, it will be asked for on startup.",
179179
Default: "",
180180
Value: serpent.StringOf(&overlayOpts.authKey),
181181
},

cmd/wush/rsync.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func rsyncCmd() *serpent.Command {
7575
{
7676
Flag: "auth-key",
7777
Env: "WUSH_AUTH_KEY",
78-
Description: "The auth key returned by " + cliui.Code("wush receive") + ". If not provided, it will be asked for on startup.",
78+
Description: "The auth key returned by " + cliui.Code("wush serve") + ". If not provided, it will be asked for on startup.",
7979
Default: "",
8080
Value: serpent.StringOf(&overlayOpts.authKey),
8181
},

cmd/wush/ssh.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func sshCmd() *serpent.Command {
3333
Aliases: []string{},
3434
Short: "Open a shell.",
3535
Long: "Opens an SSH connection to a " + cliui.Code("wush") + " peer. " +
36-
"Use " + cliui.Code("wush receive") + " on the computer you would like to connect to.",
36+
"Use " + cliui.Code("wush serve") + " on the computer you would like to connect to.",
3737
Middleware: serpent.Chain(
3838
initLogger(&verbose, &quiet, logger, &logf),
3939
initAuth(&overlayOpts.authKey, &overlayOpts.clientAuth),
@@ -91,7 +91,7 @@ func sshCmd() *serpent.Command {
9191
{
9292
Flag: "auth-key",
9393
Env: "WUSH_AUTH_KEY",
94-
Description: "The auth key returned by " + cliui.Code("wush receive") + ". If not provided, it will be asked for on startup.",
94+
Description: "The auth key returned by " + cliui.Code("wush serve") + ". If not provided, it will be asked for on startup.",
9595
Default: "",
9696
Value: serpent.StringOf(&overlayOpts.authKey),
9797
},

0 commit comments

Comments
 (0)