Update internal/command/workspace_select.go

Co-authored-by: James Bardin <j.bardin@gmail.com>
This commit is contained in:
Brittan DeYoung 2022-12-16 15:03:46 -05:00 committed by GitHub
parent 11da5afb5e
commit 8881418c99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ func (c *WorkspaceSelectCommand) Run(args []string) int {
var orCreate bool
cmdFlags := c.Meta.defaultFlagSet("workspace select")
cmdFlags.BoolVar(&orCreate, "or-create", false, "create workspace if it doesnt exist")
cmdFlags.BoolVar(&orCreate, "or-create", false, "create workspace if it does not exist")
cmdFlags.Usage = func() { c.Ui.Error(c.Help()) }
if err := cmdFlags.Parse(args); err != nil {
c.Ui.Error(fmt.Sprintf("Error parsing command-line flags: %s\n", err.Error()))