ltldo: rename %R as %#

Fixes #189.

* bin/ltldo.cc: Here.
* tests/core/ltldo.test: Adjust and add test-case for %R.
* NEWS: Mention the change.
This commit is contained in:
Alexandre Duret-Lutz 2016-11-08 14:56:38 +01:00
parent 600b1f7e5c
commit 278b41f4bb
3 changed files with 20 additions and 7 deletions

View file

@ -66,7 +66,7 @@ static const argp_option options[] =
static const argp_option more_o_format[] =
{
{ "%R", 0, nullptr, OPTION_DOC | OPTION_NO_USAGE,
{ "%#", 0, nullptr, OPTION_DOC | OPTION_NO_USAGE,
"serial number of the formula translated", 0 },
{ "%T", 0, nullptr, OPTION_DOC | OPTION_NO_USAGE,
"tool used for translation", 0 },
@ -262,7 +262,7 @@ namespace
: runner(dict), post(post)
{
printer.add_stat('T', &cmdname);
printer.add_stat('R', &roundval);
printer.add_stat('#', &roundval);
printer.add_stat('f', &inputf);
}