Skip to content

Releases: alphayax/get_opt

3.1.0

18 Apr 13:20
Compare
Choose a tag to compare
Return null instead of an empty string if option was not provided

BREAKING CHANGES ! V2.0.0

19 Nov 16:50
Compare
Choose a tag to compare

BREAKING CHANGES ! V2.0.0

  • addLongOpt, addShortOpt and addOpt now return the "Option"
  • getOptionValue(string) is renamed getValueName(string)
  • hasOption(string) is renamed hasOptionName(string)
  • new method getValue(Option)
  • new method hasOption(Option)

1.0.0

18 Jun 14:03
Compare
Choose a tag to compare

First stable version

  • Parse longs and short args
  • Mark options as required
  • Mark options as waiting for value
  • Display help