On Mon, Mar 04, 2013 at 08:32:16PM +0900, FUJITA Tomonori wrote:
> On Mon,  4 Mar 2013 20:30:17 +0900 (JST)
> [email protected] (YAMAMOTO Takashi) wrote:
> 
> >> On Mon,  4 Mar 2013 15:58:07 +0900 (JST)
> >> [email protected] (YAMAMOTO Takashi) wrote:
> >> 
> >>> hi,
> >>> 
> >>>> On Fri,  1 Mar 2013 14:13:47 +0900
> >>>> YAMAMOTO Takashi <[email protected]> wrote:
> >>>> 
> >>>>> cfg.py automatically replaces '-' in option names to '_' for config 
> >>>>> files.
> >>>>> so s/_/-/ in this file was a mistake.  revert the commit.
> >>>> 
> >>>> It means that Yamahata's comment is wrong?
> >>> 
> >>> in a command line, --long-option.  i think he was talking about this.
> >>> 
> >>> in a config file, long_option.  it's what this revert is about.
> >> 
> >> the same option uses different formats in a command line and in a
> >> config file?
> > 
> > yes.  it seems strange to me but it's what openstack does for some
> > of their options.
> 
> Yamahata, do you know any reason for this?

Unfortunately I don't know exact reasons.
I guess
- In config file, '_' is consistently used. (At least old nova does so.)
  So it can't be changed for compatibility.
- In command line option, '-' and '_' were inconsistently used.
  And '-' has become major and it made consistent to '-'.
-- 
yamahata

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to