optparse module

jcc7 jcc7_member at pathlink.com
Fri Apr 14 10:41:20 PDT 2006


In article <e1ocf1$2iej$1 at digitaldaemon.com>, Daniel Keep says...
>
>This is a multi-part message in MIME format.
>--------------090201060608040605000801
>Content-Type: text/plain; charset=UTF-8
>Content-Transfer-Encoding: 7bit
>
>Me again :P
>
>I found I needed something to dump a file as hex the other day, so
>naturally the first thing I wrote was a command-line argument parser :P
>
>Here's the preliminary version, and since I can't see anything similar
>in either phobos or on dsource, I thought I'd post it up here to see if
>anyone thinks I should try getting it online somewhere.

Something like really needs to be added to Phobos since it's such a popular
idea. I created a wiki page to list the existing modules (including this newest
one): http://www.prowiki.org/wiki4d/wiki.cgi?Phobos/PosixGetOpt

jcc7



More information about the Digitalmars-d mailing list