Roger Whitcomb created PIVOT-1033:
-------------------------------------

             Summary: Allow startup properties of the form "--switch" in 
addition to "--option=value"
                 Key: PIVOT-1033
                 URL: https://issues.apache.org/jira/browse/PIVOT-1033
             Project: Pivot
          Issue Type: Improvement
          Components: wtk
            Reporter: Roger Whitcomb
            Assignee: Roger Whitcomb


Sometimes applications need options that are either specified or not (a common 
one is "–verbose" for instance), where there is no need for a value, but simply 
the presence (or absence) of the flag.  Our current option processing in 
BrowserApplicationContext and DesktopApplicationContext will not allow that – 
it always requires "–option=value".  This could be changed.  Then the Map could 
have a Boolean.TRUE as the value (which could be ignored, of course), but the 
semantics would be the same as if the option were given as ("–option=true"), 
but with less typing required ("--option").



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to