-
Committer:
Alex Chiang
-
Date:
2011-10-13 01:26:46 UTC
-
mfrom:
(95.1.1 hydrazine-fix-filter)
-
Revision ID:
achiang@canonical.com-20111013012646-35ko3nsr5yvpxvpg
bugclient: add input validation for 'filter' command, other NamedEnums
Give the NamedEnum() class a new method, 'show_valid()'.
This gives us a standard way to handle error checking if the user
enters an invalid enum.
Harden the 'filter' command so it doesn't puke when you just type it
without any arguments