[Mono-list] What is the best way to parse command line argume nts?

ArsenShnurkov Arsen.Shnurkov at gmail.com
Tue Dec 7 11:53:10 EST 2010


http://www.mono-project.com/Release_Notes_Mono_2.2#Source_Code_Snippets

Source Code Snippets

Some libraries are too small to qualify for an assembly and are more
conveniently used in source code form. With Mono 2.2 we debut code snippets,
these are used by copying the code into your application. For example, to
use Mono.Options parsing library, you would do:

cp `pkg-config --variable=Sources mono-options` .

Mono.Options and Mono.DataConvert are now available in this form.
Mono.Options

Jonathan Pryor's Mono.Options library is now included as a Source Code
Snippet that you can integrate into your application. 

In gentoo after the command
# cd /usr/portage && ebuild dev-lang/mono/mono-2.6.7.ebuild prepare
that source is located in:
/var/tmp/portage/dev-lang/mono-2.6.7/work/mono-2.6.7/mcs/class/Mono.Options/Mono.Options/Options.cs
-- 
View this message in context: http://mono.1490590.n4.nabble.com/What-is-the-best-way-to-parse-command-line-arguments-tp3076612p3076776.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list