pt-slave-restart --config does not recognize '=' as separator
Bug #1635734 reported by
Agustín
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Low
|
Carlos Salguero |
Bug Description
pt-slave-restart will show the following error if '=' is used between --config and the file:
$ pt-slave-restart --config=
Unknown option: config
Usage: pt-slave-restart [OPTIONS] [DSN]
...
With no '=' it works as expected:
$ pt-slave-restart --config /tmp/pt-
Cannot open /tmp/pt-
Adding quotes or single quotes to the file path does not help.
Also, the error is a bit cryptic, since config is a valid option.
Changed in percona-toolkit: | |
status: | New → Confirmed |
Changed in percona-toolkit: | |
importance: | Undecided → Low |
assignee: | nobody → Carlos Salguero (carlos-salguero) |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Since the error is in the option parser module, this error affects to all these tools: deadlock- logger duplicate- key-checker fk-error- logger online- schema- change slave-restart table-checksum variable- advisor visual- explain
modified: bin/pt-align
modified: bin/pt-archiver
modified: bin/pt-config-diff
modified: bin/pt-
modified: bin/pt-diskstats
modified: bin/pt-
modified: bin/pt-fifo-split
modified: bin/pt-find
modified: bin/pt-fingerprint
modified: bin/pt-
modified: bin/pt-heartbeat
modified: bin/pt-index-usage
modified: bin/pt-kill
modified: bin/pt-
modified: bin/pt-query-digest
modified: bin/pt-show-grants
modified: bin/pt-slave-delay
modified: bin/pt-slave-find
modified: bin/pt-
modified: bin/pt-
modified: bin/pt-table-sync
modified: bin/pt-table-usage
modified: bin/pt-upgrade
modified: bin/pt-
modified: bin/pt-