Skip to content

Commit

Permalink
cmd/create: Update hint after creating a container
Browse files Browse the repository at this point in the history
Rewritten version of Toolbox supports newer syntax for entering a
container: `toolbox enter <name-of-container>`. This new workflow should
be shown in the hint after creating a container with `toolbox create`.

containers#489
  • Loading branch information
HarryMichal authored and debarshiray committed Jul 22, 2020
1 parent 61a5f51 commit 2aad838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ func getEnterCommand(container, release string) string {
case containerNamePrefixDefaultWithRelease:
enterCommand = fmt.Sprintf("%s enter --release %s", executableBase, release)
default:
enterCommand = fmt.Sprintf("%s enter --container %s", executableBase, container)
enterCommand = fmt.Sprintf("%s enter %s", executableBase, container)
}

return enterCommand
Expand Down

0 comments on commit 2aad838

Please sign in to comment.