Skip to content

Commit 9cb8200

Browse files
authored
Merge pull request cli#78 from github/fix-ports-usage-docs
cmd/ghcs/ports: Fix usage docs for the new `source:forward` syntax
2 parents 9697aa3 + a53eb53 commit 9cb8200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/ghcs/ports.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ func updatePortVisibility(log *output.Logger, codespaceName, sourcePort string,
241241

242242
func NewPortsForwardCmd() *cobra.Command {
243243
return &cobra.Command{
244-
Use: "forward <codespace> <source-port> <destination-port>",
244+
Use: "forward <codespace> <source-port>:<destination-port>",
245245
Short: "Forward ports",
246246
Args: cobra.MinimumNArgs(2),
247247
RunE: func(cmd *cobra.Command, args []string) error {

0 commit comments

Comments
 (0)