Have --codespace <name> flag be consistent across commands
This commit is contained in:
parent
20d75f0ff9
commit
22be26431e
2 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ func NewPortsCmd() *cobra.Command {
|
|||
},
|
||||
}
|
||||
|
||||
portsCmd.Flags().StringVarP(&opts.CodespaceName, "name", "n", "", "Name of Codespace to use")
|
||||
portsCmd.Flags().StringVarP(&opts.CodespaceName, "codespace", "c", "", "The `name` of the Codespace to use")
|
||||
portsCmd.Flags().BoolVar(&opts.AsJSON, "json", false, "Output as JSON")
|
||||
|
||||
portsCmd.AddCommand(NewPortsPublicCmd())
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ func NewSSHCmd() *cobra.Command {
|
|||
|
||||
sshCmd.Flags().StringVarP(&sshProfile, "profile", "", "", "SSH Profile")
|
||||
sshCmd.Flags().IntVarP(&sshServerPort, "server-port", "", 0, "SSH Server Port")
|
||||
sshCmd.Flags().StringVarP(&codespaceName, "codespace", "c", "", "Codespace Name")
|
||||
sshCmd.Flags().StringVarP(&codespaceName, "codespace", "c", "", "The `name` of the Codespace to use")
|
||||
|
||||
return sshCmd
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue