Skip to content

Commit

Permalink
Merge pull request #1161 from joe-kimmel-vmw/its_just_a_phase
Browse files Browse the repository at this point in the history
be more helpful when you dont recognize the phase
  • Loading branch information
joe-kimmel-vmw authored Jul 26, 2023
2 parents 1ca5500 + 9099967 commit 8cb8336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lifecycle/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func subcommand(platformAPI string) {
case "extend":
cli.Run(&extendCmd{Platform: platform.NewPlatformFor(platformAPI)}, phase, true)
default:
cmd.Exit(cmd.FailCode(cmd.CodeForInvalidArgs, "unknown phase:", phase))
cmd.Exit(cmd.FailCode(cmd.CodeForInvalidArgs, "unknown phase:", phase, "\nValid phases: detect, analyze, restore, build, export, rebase, create, extend"))
}
}

Expand Down

0 comments on commit 8cb8336

Please sign in to comment.