The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
--mode and --render-as options are invisible to the help API; likewise --debug and --verbose.
|Affected Puppet version:||Branch:|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
This ticket may be automatically exported to the PUP project on JIRA using the button below:
--verbose options are specified in puppet/application/face_base.rb, which is opaque to the help API. They’re important options, and should show up in the manpages and help for all faces and actions.
#1 Updated by Daniel Pittman almost 3 years ago
The —mode, —render-as, —debug, and —verbose options are specified in puppet/application/face_base.rb, which is opaque to the help API. They’re important options, and should show up in the manpages and help for all faces and actions.
This is intimately tied to the fact that these options are not implemented as face options, but were just hacked into the base application as a matter of experience in getting the first version out the door.
In resolving this issue we should first solve the underlying unification issue – then, if there is any more to do we can tackle it here.
#4 Updated by Daniel Pittman almost 3 years ago
Nick Fagerlund wrote:
We’ll just have to add some boilerplate about those four options as prose to the templates. It’s aesthetically annoying and kind of bad info design, but definitely not a dealbreaker.
Given the set of global options is static, this is pretty much what I assumed was going to happen.
(Daniel, what do you mean by the underlying unification issue?)
Sorry, since I was on my mobile device I didn’t fill that out. I have added #7270 as a blocker for this ticket, which is exactly what I mean by that.