Trying to clean a step that doesn't exist shows the wrong error

Bug #1604377 reported by Leo Arias
6
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.

Tags: bitesize
Leo Arias (elopio)
tags: added: bitesize
Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Yeah, printing the list of valid steps would be nice here.

Changed in snapcraft:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.