Issue #6939 has been updated by Krzysztof Wilczynski.

R.I. Pienaar wrote:
> Please show an example of what this is about?

For example, running `mco help filemgr` will produce:

<pre>
ACTIONS:
========
   remove, status, touch

   remove action:
   --------------
       Removes a file

       INPUT:
           file:
              Description: File to remove
                   Prompt: File
                     Type: string
               Validation: ^.+$
                   Length: 256

       OUTPUT:
   status action:
   --------------

[...]
</pre>

There is no output defined for this action in the DDL file, and therefore only 
`OUTPUT:` header will be printed.

KW
----------------------------------------
Bug #6939: Suppress showing empty INPUT: and/or OUTPUT: header for an action
https://projects.puppetlabs.com/issues/6939

Author: Krzysztof Wilczynski
Status: Unreviewed
Priority: Normal
Assignee: Krzysztof Wilczynski
Category: 
Target version: 
Keywords: 
Branch: 
Affected mCollective version: 


We may wish to suppress showing empty INPUT: and/or OUTPUT: header for an 
action in a case where a particular agent does not provide output nor requires 
input for an action.

This concerns "mco <AGENT NAME> help" use case when an appropriate DDL file was 
shipped with the agent.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to