DanielT / a2ltool

A tool to edit, merge and update a2l files
Apache License 2.0
46 stars 15 forks source link

How to use this tool for A2L merge? #10

Closed DavidPYH closed 1 year ago

DavidPYH commented 1 year ago

Hello I'm trying to use this tool to merge two different A2l file, but I don't have some knowledge for the command, when I input './a2ltool.exe --merge --merge --output ', it give feedback on an error, whould you please help me to correct it? Looking forward to your reply!

DanielT commented 1 year ago

Hello

The error message should have told you what you need to do. In this case the tool will print

error: the following required arguments were not provided:
  <INPUT|--create>

Usage: a2ltool.exe --merge <A2LFILE> <INPUT|--create>

This means you must specify one file as the base, or --create to create a new base. The option --create mostly makes sense for other operations, when you're merging you just use one of your existing files

./a2ltool.exe <Master.a2l> --merge <Slavel.a2l> --output <new.a2l>