Skip to content
siywilliams edited this page Apr 22, 2013 · 38 revisions

v1.2

Functional Changes (!)

Some functional changes have been made which may impact existing behaviour.

A InvalidOptionNameException is now thrown when setting up an Option if:

  • A specified long Option name is a single char in length.
  • A specified long Option name contains : or = characters anywhere within it.

Breaking Api Changes (!!)

Changes have been kept to a minimal with the following changes made:

  • Setup(string, string) has been made obsolete, being replaced instead with Setup(char, string). This is to better reflect through the Api that short Options should be a single character only.
  • Setup(string) is no longer used to setup an Option with only a short name. Instead it is used to setup an Option with only a long name. If you require to setup an option with a short name only you should use the Setup(char) overload instead.
Clone this wiki locally