[darcs-users] patch: fix help message for commands that take a single index number

Thomas Hartman tphyahoo at gmail.com
Fri Apr 10 20:15:59 UTC 2009


ok, here again

2009/4/9 Eric Kow <kowey at darcs.net>:
> Almost there!
>
> Just one more amend --edit please:
>
> ix help message for __index
> ---------------------------
> Still missing that first letter from the patch description.
>
> By the way, did you know that darcs send does a lot of the boring work
> for you, i.e. attaching the patch file, setting the subject line, etc.
>
>> Thomas Hartman <thomashartman1 at gmail.com>**20090408210437
>>  Ignore-this: baacd2471f8e7119cdc0c9a5f5ea7cf2
>> ] hunk ./src/Darcs/Arguments.lhs 677
>>                      then LastN (read s)
>>                      else LastN (-1)
>>
>> -__index = DarcsArgOption ['n'] ["index"] indexrange "N-M" "select a range of patches"
>> +__index = DarcsArgOption ['n'] ["index"] indexrange "N" "select one patch"
>>      where indexrange s = if all isDigit s
>>                           then PatchIndexRange (read s) (read s)
>>                           else PatchIndexRange 0 0
>>
>
> --
> Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
> PGP Key ID: 08AC04F9
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkneF50ACgkQBUrOwgisBPkJ/QCgv5Z7wTF2q2G55/HEFtGECuoM
> NPcAn383K/y5czEHrrJJupZxZG5h5wNB
> =ertC
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> darcs-users mailing list
> darcs-users at darcs.net
> http://lists.osuosl.org/mailman/listinfo/darcs-users
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: indexHelpMessage.patch
Type: text/x-patch
Size: 42749 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090410/b67ed317/attachment-0001.bin>


More information about the darcs-users mailing list