print_hoa: diagnose unknown options

* src/twaalgos/hoa.cc: Here.
* src/tests/readsave.test: Test it.
* NEWS: Mention it.
* src/twaalgos/dot.cc, src/twaalgos/neverclaim.cc: Fix the
error message.
This commit is contained in:
Alexandre Duret-Lutz 2015-07-24 23:23:55 +02:00
parent 5cd8c1b8cc
commit 3edd55fcd5
5 changed files with 13 additions and 3 deletions

View file

@ -61,7 +61,8 @@ namespace spot
break;
default:
throw std::runtime_error
(std::string("unknown option for never_claim(): ") + c);
(std::string("unknown option for print_never_claim(): ")
+ c);
}
}