Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-1033

Allow startup properties of the form "--switch" in addition to "--option=value"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • wtk
    • None

    Description

      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").

      Attachments

        Activity

          People

            rwhitcomb Roger Lee Whitcomb
            rwhitcomb Roger Lee Whitcomb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: