Issue #7832 has been updated by Daniel Pittman.

> Bug #7832: Invalid Face actions should not show boilerplate help on CLI
>
> For example:
>
> 08:41 milo |> puppet help catalog destroy
> USAGE: puppet catalog destroy [--terminus TERMINUS] <key>
>
> Invalid for this subcommand.

That is actually a real, genuine, available action on the face.  It
inherits it from the indirector, which wraps around the catalog.  The
text is in the actual description of the action, so this is really
just an "improve the wording of the text we wrote" ticket.  (We can't
avoid exposing the indirector actions on every indirector face,
regardless of their ability to be meaningful.)
----------------------------------------
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