option_map: Diagnose unused option on request

* spot/misc/optionmap.hh, spot/misc/optionmap.cc (report_unused_options,
set_, set_set_): New methods.
* bin/autfilt.cc, bin/dstar2tgba.cc, bin/ltl2tgba.cc,
bin/ltl2tgta.cc: Call report_unused_options().
* tests/core/ltlcross2.test, tests/core/readsave.test: Fix typos in
options.
* tests/core/minusx.test: New file.
* tests/Makefile.am: Add it.
* NEWS: Mention this.
This commit is contained in:
Alexandre Duret-Lutz 2016-06-22 20:41:14 +02:00
parent f7f353db68
commit e419150c30
11 changed files with 133 additions and 30 deletions

6
NEWS
View file

@ -1,4 +1,4 @@
New in spot 2.0.1a (not yet released)
New in spot 2.0.2a (not yet released)
Command-line tools:
@ -40,6 +40,10 @@ New in spot 2.0.1a (not yet released)
appearing in these three papers: Dwyer et al (FMSP'98), Etessami &
Holzmann (Concur'00), Somenzi & Bloem (CAV'00).
* Arguments passed to -x that are not used are now reported as they
might be typos. (This ocurred a couple of times in our
test-suite.)
Library:
* The print_hoa() function will now output version 1.1 of the HOA