Issue #6750 has been updated by Luke Kanies.

We already use gnu style options, so that wouldn't be a behavior change at all.

You're right that this would be incompatible with existing commands; my plan 
was to use this mode on new commands and migrate the old commands as possible.  
I would be confusing to have the two modes, but less confusing in the end, I 
think.

I am not yet clear on the details of how it would work.  My plan was to 
implement it and see how it worked in practice, and what kind of flexibility 
there actually is.  I'm not sure we can actually tell what's better without 
implementing both and trying them out.
----------------------------------------
Feature #6750: Interfaces need to support "posix style" option handling
https://projects.puppetlabs.com/issues/6750

Author: Paul Berry
Status: Accepted
Priority: Normal
Assignee: 
Category: interface
Target version: 2.6.x
Affected Puppet version: 
Keywords: 
Branch: 


Posix style, in this context, means that Puppet needs to distinguish between 
options specified in three possible locations:

puppet <a> interface_name <b> action_name <c>

Options at location <a> are intended to be global options (those 
applicable to all Puppet interfaces and actions, like --debug)
Options at location <b> are intended to be interface-specific options
Options at location <c> are intended to be action-specific options.


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