Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 9F31AA5856 for ; Thu, 22 May 2014 21:39:31 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 1998714A3F2; Thu, 22 May 2014 21:39:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A109514A6E8 for ; Thu, 22 May 2014 21:39:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id wa1vP7wJz2E4 for ; Thu, 22 May 2014 21:39:23 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 27D9A14A664 for ; Thu, 22 May 2014 21:39:23 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 25B8796; Thu, 22 May 2014 21:39:23 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 22 May 2014 21:39:23 +0000 From: "Ryosuke Moro" Subject: CVS commit: pkgsrc/devel/hs-cmdargs To: pkgsrc-changes@NetBSD.org Reply-To: szptvlfn@netbsd.org X-Mailer: log_accum Message-Id: <20140522213923.25B8796@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk 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.