ltlsynt: fix usage for --dot's argument

* bin/ltlsynt.cc (dispatch_print_hoa): Pass the right argument to
print_dot.
* tests/core/ltlsynt.test: Test it.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2024-09-02 17:26:42 +02:00
parent 514209e80f
commit 1a36ea6ce4
3 changed files with 8 additions and 2 deletions

View file

@ -322,7 +322,7 @@ namespace
rs->patch_game(game);
if (opt_dot)
spot::print_dot(std::cout, game, opt_print_hoa_args);
spot::print_dot(std::cout, game, opt_dot_arg);
else if (opt_print_pg)
spot::print_pg(std::cout, game);
else