dot: add option 'A' to disable 'a'

This way in 2.5 we can make 'a' the default, and tell people to use
SPOT_DOTDEFAULT=A if they want the old behavior in both 2.4 and 2.5.

* spot/twaalgos/dot.cc: Implement the option.
* NEWS, bin/common_aoutput.cc: Mention it.
* tests/core/readsave.test: Test it.
This commit is contained in:
Alexandre Duret-Lutz 2017-08-30 15:08:53 +02:00
parent 205294c2c2
commit b242122ce8
4 changed files with 11 additions and 5 deletions

View file

@ -88,11 +88,12 @@ static const argp_option options[] =
/**************************************************/
{ nullptr, 0, nullptr, 0, "Output format:", 3 },
{ "dot", 'd',
"1|a|b|B|c|C(COLOR)|e|f(FONT)|h|k|n|N|o|r|R|s|t|v|y|+INT|<INT|#",
"1|a|A|b|B|c|C(COLOR)|e|f(FONT)|h|k|n|N|o|r|R|s|t|v|y|+INT|<INT|#",
OPTION_ARG_OPTIONAL,
"GraphViz's format. Add letters for "
"(1) force numbered states, "
"(a) display acceptance, "
"(a) show acceptance condition, "
"(A) hide acceptance condition, "
"(b) acceptance sets as bullets, "
"(B) bullets except for Büchi/co-Büchi automata, "
"(c) force circular nodes, "
@ -102,8 +103,8 @@ static const argp_option options[] =
"(f(FONT)) use FONT, "
"(h) horizontal layout, "
"(k) use state labels when possible, "
"(n) with name, "
"(N) without name, "
"(n) show name, "
"(N) hide name, "
"(o) ordered transitions, "
"(r) rainbow colors for acceptance sets, "
"(R) color acceptance sets by Inf/Fin, "