Red Hat Bugzilla – Bug 870467
spacecmd interactive mode exits if wrong argument is entered
Last modified: 2013-03-06 10:56:27 EST
Description of problem:
If you in spacecmd interactive mode type an invalid parameter, e.g. snippet_update -n foo, the interactvie mode exits
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2. snippet_update -n foo
interactive mode exits and you get thrown out into your shell.
Forwarding to upstream.
Reassigning to spacecmd maintainer.
Reassigning to Aron Parsons, spacecmd maintainer
This fixes the same issue throughout the whole application. We needed to subclass OptionParser to change the error behavior.
Aron, we prefer to set the state to MODIFIED when changes were done for the bugzilla, fill the Fixed In Version (I did that now) and leave it for the release nanny to close the bugzilla when the new Spacewalk release is released.