docs: fix duplicate sentence (#8712)

Resolves #8664
This commit is contained in:
Ammar Bandukwala
2023-07-24 21:22:41 -05:00
committed by GitHub
parent b8e792bf8a
commit f6f61dfa26
6 changed files with 40 additions and 41 deletions

View File

@ -32,7 +32,7 @@ func (r *RootCmd) portForward() *clibase.Cmd {
client := new(codersdk.Client)
cmd := &clibase.Cmd{
Use: "port-forward <workspace>",
Short: `Forward ports from a workspace to the local machine. Forward ports from a workspace to the local machine. For reverse port forwarding, use "coder ssh -R".`,
Short: `Forward ports from a workspace to the local machine. For reverse port forwarding, use "coder ssh -R".`,
Aliases: []string{"tunnel"},
Long: formatExamples(
example{

View File

@ -21,8 +21,7 @@ Coder v0.0.0-devel — A tool for provisioning self-hosted development environme
logout Unauthenticate your local session
netcheck Print network debug information for DERP and STUN
ping Ping a workspace
port-forward Forward ports from a workspace to the local machine.
Forward ports from a workspace to the local machine. For
port-forward Forward ports from a workspace to the local machine. For
reverse port forwarding, use "coder ssh -R".
publickey Output your Coder public key used for Git operations
rename Rename a workspace

View File

@ -1,7 +1,7 @@
Usage: coder port-forward [flags] <workspace>
Forward ports from a workspace to the local machine. Forward ports from a
workspace to the local machine. For reverse port forwarding, use "coder ssh -R".
Forward ports from a workspace to the local machine. For reverse port
forwarding, use "coder ssh -R".
Aliases: tunnel