Merge pull request #78 from github/fix-ports-usage-docs
cmd/ghcs/ports: Fix usage docs for the new `source:forward` syntax
This commit is contained in:
commit
9cb8200732
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ func updatePortVisibility(log *output.Logger, codespaceName, sourcePort string,
|
|||
|
||||
func NewPortsForwardCmd() *cobra.Command {
|
||||
return &cobra.Command{
|
||||
Use: "forward <codespace> <source-port> <destination-port>",
|
||||
Use: "forward <codespace> <source-port>:<destination-port>",
|
||||
Short: "Forward ports",
|
||||
Args: cobra.MinimumNArgs(2),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue