Method overrides the Command get_output_params() method and only returns the object params, not anything defined within the method itself. Return those as well so they are displayed in output. Some care needs to be taken to avoid returning duplicate values. In the case of duplicates the value in obj.params wins.

I tested this with the pwpolicy plugin which is a Method and defines its own takes_options. I need this to display the priority to the user.


Attachment: freeipa-399-output.patch
Description: application/mbox

Freeipa-devel mailing list

Reply via email to