Jörg Sommer and Jan Alexander Steffens (heftig)
c31ba2750f
main: new argument -m to give a minimal saving
...
Some compressions yield only a few hundred lines saving which isn't worth
the database update and the time needed to validate the compression. With
the new commandline argument `-m` the output would be suppressed, if not
at least the given number of database records would be saved.
2020-02-14 15:38:21 +01:00
Jörg Sommer and Jan Alexander Steffens (heftig)
88fc47d819
main: add value_name() for max_state_group
...
To unify the spelling of parameters, i.e. all upper-casse, add the
`value_name()` for max_state_group.
2020-02-14 15:38:21 +01:00
Jörg Sommer and Jan Alexander Steffens (heftig)
85d185fa98
Use character for split()
...
`cargo clippy` suggested to use a character instead of a string with a
single character.
See: <https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern >
2020-02-14 15:38:21 +01:00
Jörg Sommer and Jan Alexander Steffens (heftig)
846ec8f898
Convert len() > 0 to ! is_empty()
...
`cargo clippy` suggested to use `is_empty()` instead of `len() > 0`,
because this doesn't require to calculate the whole length of the sequence.
See: <https://rust-lang.github.io/rust-clippy/master/index.html#len_zero >
2020-02-14 15:38:21 +01:00