Re: r24711 - docs/Perl6/Spec

2009-01-02 Thread jerry gay
On Thu, Jan 1, 2009 at 03:30, Darren Duncan dar...@darrenduncan.net wrote:
 pugs-comm...@feather.perl6.nl wrote:

 --name  :name
 --name=value:namevalue
 --name=spacy value:name«'spacy value'»
 --name='spacy value':name«'spacy value'»
 --name=val1,'val 2',etc :name«val1 'val 2' etc»
 +-n :name
 +-n=value   :namevalue
 +-n=spacy value   :name«'spacy value'»
 +-n='spacy value'   :name«'spacy value'»
 +-n=val1,'val 2',etc:name«val1 'val 2' etc»
   --name :name# only if declared Bool
 --name=value   :namevalue # don't care

 Is that right?  Should the right column example not also be shortened to :n
 ?  I thought the single-dash names only allowed a single character in a name
 on purpose, since multiple chars after a - were multiple options. -- Darren
 Duncan

yes, it's right. options have both long and short names.
perhaps you missed the change to the paragraph above:

+Assuming C-n is the shortname for C--name,

that reads short name (two words) as of r24732.

if you want to set Cn to Cvalue, use C--n=value.
~jerry


Re: r24711 - docs/Perl6/Spec

2009-01-01 Thread Darren Duncan

pugs-comm...@feather.perl6.nl wrote:

--name  :name
--name=value:namevalue
--name=spacy value:name«'spacy value'»
--name='spacy value':name«'spacy value'»
--name=val1,'val 2',etc :name«val1 'val 2' etc»
+-n :name
+-n=value   :namevalue
+-n=spacy value   :name«'spacy value'»
+-n='spacy value'   :name«'spacy value'»
+-n=val1,'val 2',etc:name«val1 'val 2' etc»
 
 --name :name# only if declared Bool

 --name=value   :namevalue # don't care


Is that right?  Should the right column example not also be shortened to :n ?  I 
thought the single-dash names only allowed a single character in a name on 
purpose, since multiple chars after a - were multiple options. -- Darren Duncan