correct handling of --stats=%P

Fixes #236.

* bin/common_aoutput.cc: Fix it.
* tests/core/format.test: Improve test cases.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2017-02-28 16:39:54 +01:00
parent d2e9515c10
commit 68ad391948
3 changed files with 17 additions and 6 deletions

View file

@ -453,7 +453,7 @@ hoa_stat_printer::print(const spot::const_parsed_aut_ptr& haut,
haut_deterministic_ = is_deterministic(haut->aut);
}
if (has('p'))
if (has('P'))
haut_complete_ = is_complete(haut->aut);
if (has('G'))