Issue #7832 has been updated by Randall Hansen.

Daniel Pittman wrote:

> That is actually a real, genuine, available action on the face.

Yes, this is an excellent reminder.

It's not valid for the subcommand, though, and we're not supplying API help in 
the short CLI help.  I'll amend the description to make that clearer.
----------------------------------------
Bug #7832: Invalid Face actions should not show boilerplate help on CLI
https://projects.puppetlabs.com/issues/7832

Author: Randall Hansen
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 2.7.x
Affected Puppet version: 
Keywords: 
Branch: 


For example:

    08:41 milo |> puppet help catalog destroy
    USAGE: puppet catalog destroy [--terminus TERMINUS] <key>

    Invalid for this subcommand.

    OPTIONS:
      --mode MODE                    - The run mode to use (user, agent, or 
master).
      --render-as FORMAT             - The rendering format to use.
      --verbose                      - Whether to log verbosely.
      --debug                        - Whether to log debug information.
      --terminus TERMINUS            - The indirector terminus to use.

    See 'puppet man catalog' or 'man puppet-catalog' for full help.

All we should show in this and similar cases is the same thing we show for 
other non-existent actions (see #7689).


-- 
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