Trying to clean a step that doesn't exist shows the wrong error
Bug #1604377 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Triaged
|
Undecided
|
Unassigned |
Bug Description
To reproduce:
⟫ snapcraft clean --step idontexist
'idontexist' is not a valid step for part 'part3'
The list of steps is hardcoded. Instead of refering to a specific part, it just should say that the step doesn't exist. Maybe list the valid steps.
Yeah, printing the list of valid steps would be nice here.