logo separator

[mkgmap-dev] mkgmap command-line argument parsing bugs

From Richard Hansen rhansen at bbn.com on Sat Jan 14 22:53:52 GMT 2012

On 2012-01-13 16:10, Steve Ratcliffe wrote:
> On 13/01/12 19:05, Richard Hansen wrote:
>> Hi all,
>>
>> I have stumbled across a couple of mkgmap command-line argument parsing
>> bugs:
>>
>> 1.  (all?) command-line arguments after '-c template.args' are ignored
>
> The order of options intentionally matters. Options only affect files
> that follow them on the command line (or within a command file). So I
> don't think that there is a bug there.
>
>> 2.  '--generate-sea' produces the following error message (I have to use
>> '--generate-sea=multipolygon' even though multipolygon is supposedly the
>> default):
>
> That is something that should be fixed.

Attached are two patches to address these two issues.

Thanks,
Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Skip-empty-sea-generation-options.patch
Type: text/x-patch
Size: 1831 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120114/ca32037d/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Document-option-order-significance-in-help-options.patch
Type: text/x-patch
Size: 743 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120114/ca32037d/attachment-0001.bin 


More information about the mkgmap-dev mailing list