On Thu, Jan 1, 2009 at 03:30, Darren Duncan <dar...@darrenduncan.net> wrote:
> pugs-comm...@feather.perl6.nl wrote:
>> - -name :name
>> - -name=value :name<value>
>> - -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 :name<value>
>> + -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 :name<value> # 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
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 C<n> to C<value>, use C<--n=value>.