pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/hs-cmdargs



Module Name:    pkgsrc
Committed By:   szptvlfn
Date:           Thu May 22 21:39:23 UTC 2014

Added Files:
        pkgsrc/devel/hs-cmdargs: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Import cmdargs-0.10.7 as devel/hs-cmdargs,
packaged for wip.

This library provides an easy way to define command line parsers.
Most users will want to use the System.Console.CmdArgs.Implicit module,
whose documentation contains an example.

* System.Console.CmdArgs.Explicit provides a way to write command line parsers
  for both single mode programs (most programs) and multiple mode programs
  (e.g. darcs or cabal). Parsers are defined by constructing a data structure.

* System.Console.CmdArgs.Implicit provides a way to concisely define
  command line parsers, up to three times shorter than getopt.
  These parsers are translated into the Explicit data type.

* System.Console.CmdArgs.GetOpt provides a wrapper allowing compatiblity
  with existing getopt parsers, mapping to the Explicit data type.

For a general reference on what command line flags are commonly used,
see http://www.faqs.org/docs/artu/ch10s05.html.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-cmdargs/DESCR \
    pkgsrc/devel/hs-cmdargs/Makefile pkgsrc/devel/hs-cmdargs/PLIST \
    pkgsrc/devel/hs-cmdargs/buildlink3.mk pkgsrc/devel/hs-cmdargs/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index