ltlfilt: add a --max-count/-n option

This fixes #44.

* src/bin/ltlfilt.cc: Implement -n/--max-count.
* doc/org/ltlfilt.org, src/tgbatest/randpsl.test: Use it
* NEWS: Document it.
This commit is contained in:
Alexandre Duret-Lutz 2015-01-14 18:49:00 +01:00
parent ae234d2e12
commit 8fd594f5d0
4 changed files with 53 additions and 26 deletions

4
NEWS
View file

@ -29,6 +29,10 @@ New in spot 1.99a (not yet released)
same as in grep (and also autfilt): disable all normal
input, for situtations where only the exit status matters.
- ltlfilt's old -n/--negate option can only be used as --negate
now. The short '-n NUM' option is now the same as the new
--max-count=N option, for consistency with other tools.
- There is a parser for the HOA format
(http://adl.github.io/hoaf/) available as a
spot::hoa_stream_parser object or spot::hoa_parse() function.