[darcs-users] darcs patch: make '--output-auto-name' accept optional directory argument

David Roundy droundy at darcs.net
Fri Sep 12 15:06:42 UTC 2008


On Fri, Sep 12, 2008 at 10:49 AM, David Roundy <droundy at darcs.net> wrote:
>> hunk ./src/Darcs/Arguments.lhs 1148
>>  option_latex (DarcsAbsPathOption a b _ arg h) =
>>      show_short_options a ++
>>      show_long_options (map (++(" "++arg)) b) ++ latex_help h ++ "\\\\"
>> +option_latex (DarcsOptAbsPathOption a b _ _ arg h) =
>> +    show_short_options a ++
>> +    show_long_options (map (++(" "++arg)) b) ++ latex_help h ++ "\\\\"
>>  option_latex (DarcsMultipleChoiceOption os) =
>>      unlines (map option_latex os)
>
> It seems like the help should probably distinguish optional arguments
> from required arguments somehow, like --in-place[=SUFFIX] (example
> from the sed manpage).

I ended up fixing this myself (it was pretty easy).  So there's no
need for you to send something.

David


More information about the darcs-users mailing list