Issue #12335 has been updated by Nigel Kersten.

I had a chat to Pieter about this.

I'm not opposed to "puppet subcommand --version" being deprecated and pushing 
people toward "puppet --version". Other subcommand tools have done this, 
there's a reasonably well trodden path.

I have reservations about using "--version" to mean anything other than "output 
the version" with subcommands, but recognize that for the use case of 
specifying module versions/ranges it may be the most rational choice.

I expressed reservations, but UX owns the decision.
----------------------------------------
Bug #12335: Face based commands don't support `--version`
https://projects.puppetlabs.com/issues/12335#change-54727

Author: Daniel Pittman
Status: Rejected
Priority: Normal
Assignee: 
Category: usability
Target version: 2.7.11
Affected Puppet version: 
Keywords: 
Branch: 


Apparently, when building the wrappers that make Faces available as 
subcommands, we neglected to implement the `--version` option, so:

<pre>
⚡ puppet --version
2.7.10
⚡ puppet agent --version
2.7.10
⚡ puppet node --version
err: 'node' has no default action.  See `puppet help node`.
</pre>

We should remedy that, since it is a quite strange UI divergence.


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