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:
Issy Long 2021-08-19 10:12:57 +01:00 committed by GitHub
commit 9cb8200732

View file

@ -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 {