[DOC] pt-table-checksum --where has badly formatted example
Bug #1419098 reported by
Michael Coburn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Low
|
Frank Cizmich |
Bug Description
[In:Percona Toolkit Documentation]
it shows:
:program:
It should probably show:
pt-table-checksum --where "ts > CURRENT_DATE - INTERVAL 1 DAY"
the back ticks and :program: pieces don't make sense when you want to understand the example.
Changed in percona-toolkit: | |
assignee: | nobody → Frank Cizmich (frank-cizmich) |
importance: | Undecided → Low |
milestone: | none → 2.2.14 |
status: | New → In Progress |
Changed in percona-toolkit: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
status: | Fix Released → Fix Committed |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I think this is caused by code in util/pod2rst-fixed line 78:
$para =~ s/([^\/ ])$tool/ $1:program: `$tool` /g unless $in_code_block;
which doesn't correctly detect a code-block if it's inside the options.
Other tools are affected as well, check: www.percona. com/doc/ percona- toolkit/ 2.2/pt- heartbeat. html#cmdoption- pt-heartbeat- -stop
http://
inside the crontab: `pt-heartbeat` ...
0 * * * * :program: