On Thu, Sep 16, 2010 at 18:11:17 +0000, Joachim Breitner wrote:
> subusage :: DarcsCommand -> String
> subusage super =
> (usageInfo
> - - ("Usage: darcs "++commandName super++" SUBCOMMAND ... " ++
> + ("Usage: " ++ commandProgramName super ++ " "++commandName super++"
> SUBCOMMAND ... " ++Quick screening question. Wouldn't it be simpler for subusage to have access to the result of System.Environment.getProgramName? -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> For a faster response, try +44 (0)1273 64 2905 or xmpp:[email protected] (Jabber or Google Talk only)
signature.asc
Description: Digital signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
