2005-05-06:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
authorRafael Teixeira <monoman@gmail.com>
Fri, 6 May 2005 20:09:06 +0000 (20:09 -0000)
committerRafael Teixeira <monoman@gmail.com>
Fri, 6 May 2005 20:09:06 +0000 (20:09 -0000)
commitb98dddd01787fecf23cbcbb0dad97c2534efd937
tree6d5d0b8c4624aab75c4a28e76b5245042a1ee01a
parent5cbfa93c6e64fe3334956640de16c42583765c62
2005-05-06:2  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* Adding Samples directory with mcat Sample (changed main Makefile but didn't add to the SUBDIRS)
* Mono.GetOptions/Options.cs, Mono.GetOptions/OptionList
An overrideable DefaultArgumentProcessor was added to base class Options that just collects them
to the string[] RemainingArguments property as before. It is a virtual method, but it can also be
overriden by another method tagged with the ArgumentProcessorAttribute in the derived class
to stay binary compatible with old code.
* Added Mono.GetOptions/KillOptionAttribute.cs
This new attribute permit to hide (kill) an inherited option when overriding the virtual base member.
* Added Mono/AdditionalInfoAttribute.cs
This new attribute permit to add some extra text at the end of the automatically generated help screen
* Added Mono/ReportBugsToAttribute.cs
This new attribute adds a "Report bugs to <Url>" message at the end of the automatically generated help screen

* Mono.GetOptions/OptionList.cs: Corrected wrong assumption on string length that caused a exception when a
  single-dash argument was being normalized. Now a single-dash is returned a non-processed argument.

svn path=/trunk/mcs/; revision=44164
12 files changed:
mcs/class/Mono.GetOptions/ChangeLog
mcs/class/Mono.GetOptions/Makefile
mcs/class/Mono.GetOptions/Mono.GetOptions.dll.sources
mcs/class/Mono.GetOptions/Mono.GetOptions/KillOptionAttribute.cs [new file with mode: 0644]
mcs/class/Mono.GetOptions/Mono.GetOptions/OptionDetails.cs
mcs/class/Mono.GetOptions/Mono.GetOptions/OptionList.cs
mcs/class/Mono.GetOptions/Mono.GetOptions/Options.cs
mcs/class/Mono.GetOptions/Mono/AdditionalInfoAttribute.cs [new file with mode: 0644]
mcs/class/Mono.GetOptions/Mono/ReportBugsToAttribute.cs [new file with mode: 0644]
mcs/class/Mono.GetOptions/Samples/Makefile [new file with mode: 0644]
mcs/class/Mono.GetOptions/Samples/mcat.cs [new file with mode: 0644]
mcs/class/Mono.GetOptions/Samples/mcat.exe.sources [new file with mode: 0644]