Skip to content

Releases: SimonCahill/getopt.net

v0.9.1

22 Dec 18:50
837addc
Compare
Choose a tag to compare

v0.9.1

Version 0.9.1 introduces a non-breaking change which allows creating a shortopt string from an array of long options.

Changes

  • Added extension method Option[].ToShortOptString()
  • Updated tests

v0.9.0

01 Oct 15:50
a967e0e
Compare
Choose a tag to compare

v0.9.0

Version 0.9.0 introduces a non-breaking change which fixes a bug in paramfiles.

Changes

  • Paramfiles now support comments.
  • Comments are only supported at the beginning of lines
  • Comments are denoted by a preceeding #

v0.8.1

28 Apr 21:51
d69b210
Compare
Choose a tag to compare

v0.8.1

Version 0.8.1 introduces a non-breaking change which allows for more than 255 possible values for long options.

Changes

  • Option struct now contains an Int32 for its Value property
    • An override constructor was added to allow for backwards-compatiblity.

To download the reference implementation binaries, please see version 0.8.0.

v0.8.0

20 Apr 17:50
7a14012
Compare
Choose a tag to compare

v0.8.0

Version 0.8.0 introduces a non-breaking change which enables support for paramfiles!

Some applications, notably GCC, use paramfiles as a way to pass a large amount of options and arguments to an application.
Paramfiles are line-separated lists of arguments and can be enabled by setting AllowParamFiles = true.
Each line in the paramfile will be parsed as if it were passed directly to getopt.net!
To allow Powershell or Windows conventions, you will still need to enable AllowWindowsConventions or AllowPowershellConventions respectively.

Changes

  • Added support for paramfiles
  • Updated reference implementations

v0.7.0

19 Apr 20:43
ddde490
Compare
Choose a tag to compare

v0.7.0

This release introduces a non-breaking change, enabling support for Powershell-style options!

Changes

  • Added support for Powershell-style options
  • Added new switch for enabling Powershell-style options: AllowPowershellConventions

Remarks

Support for Powershell-style arguments is NOT enabled by default!
To enable support, set AllowPowershellConventions = true!
To enable support for Powershell-style options with Windows-style argument separator (:), you must also set AllowWindowsConventions = true!

v0.6.0

29 Mar 19:17
ddde490
Compare
Choose a tag to compare

Version 0.6.0 is fresh out of the oven and ready to be used in your projects!

v0.6.0 introduces no breaking changes!

Excerpt from CHANGELOG.md

Version 0.6.0 introduces a non-breaking change which enabled support for optional short-opt arguments!
Check out the wiki/README for more info!

Changes

  • Added support for optional short args!

v0.5.1

05 Mar 19:40
1b75f78
Compare
Choose a tag to compare

Minor Release

Changes

This release contains no breaking changes.

  • Added property which either completely enables or disables all exceptions thrown by GetOpt.

v0.5.0

02 Mar 22:36
Compare
Choose a tag to compare

Added support for Windows-style options!

/help, /h
/file:myfile.txt, /file=myfile.txt, /file myfile.txt, /fmyfile.txt

Get the best of both worlds with support for Windows-style options, combined with the support for GNU-/POSIX-style options!

v0.4.0

28 Feb 17:12
78ec01c
Compare
Choose a tag to compare

This release introduces a potentially breaking change!

Changes:

  • Removed support for Flag parameter in Options struct.
  • Bumped up version to 0.4.0

v0.3.1

27 Feb 22:22
Compare
Choose a tag to compare

v0.3.1
This is a minor release related to #11.

Changes:
DoubleDashStopsParsing is now default true.
Bumped up version to 0.3.1