[darcs-users] darcs patch: Advertise help --match in "darcs help".

Trent W.Buck trentbuck at gmail.com
Sat Apr 18 03:32:37 UTC 2009


trentbuck at gmail.com (Trent W. Buck) writes:
> Thomas Hartman <thomashartman1 at googlemail.com> writes:
>
>>  help_description :: String
>> -help_description = "Display help about darcs and darcs commands."
>> +help_description =
>> +  let nl = '\n' : (take 17 . repeat $ ' ') -- maybe there's a better way to pretty print this?
>> +  in "Darcs commands listing. "
>> +      ++ nl ++ "For subcommand help, do darcs <subcommand> --help "
>> +      ++ nl ++ "For help with --match=PATTERN or --patch=REGEXP sytax for patch matching, do darcs help --match "
>> +      ++ nl ++ "For more help with help, do darcs help --help "
>
> I believe this specific implementation is undesirable.

Here's my quick attempt.

Sat Apr 18 13:30:44 EST 2009  Trent W. Buck <trentbuck at gmail.com>
  * Advertise help --match in "darcs help".

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 47091 bytes
Desc: A darcs patch for your repository!
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090418/11f4599c/attachment-0001.bin>


More information about the darcs-users mailing list