# gnt-cluster queue foo
Failure: prerequisites not met for this operation:
Command 'foo' is not valid.
Reviewed-by: iustinp
else:
val = "unset"
ToStdout("The drain flag is %s" % val)
else:
val = "unset"
ToStdout("The drain flag is %s" % val)
+ else:
+ raise errors.OpPrereqError("Command '%s' is not valid." % command)
+
return 0
# this is an option common to more than one command, so we declare
return 0
# this is an option common to more than one command, so we declare