bin: make --stats and --format synonyms

* bin/common_output.cc: Make --stats an alias of --format.
* bin/common_aoutput.cc: Make --format an alias of --stats.
* tests/core/acc2.test, tests/core/format.test: Test these aliases.
* NEWS: Mention this.
This commit is contained in:
Alexandre Duret-Lutz 2017-09-04 17:42:13 +02:00
parent f726152ebd
commit e452e09ff7
5 changed files with 10 additions and 2 deletions

6
NEWS
View file

@ -51,6 +51,12 @@ New in spot 2.3.5.dev (not yet released)
- The --stats=%c option of tools producing automata can now be
restricted to count complete SCCs, using %[c]c.
- Tools producing automata have a --stats=... option, and tools
producing formulas have a --format=... option. These two options
work similarly, the use of different names is just historical.
Starting with this release, all tools that recognize one of these
two options also accept the other one as an alias.
Library:
- A new library, libspotgen, gathers all functions used to generate