abg/dbsake

upgrade-mycnf documentation example is incorrect

abg opened this issue · 0 comments

abg commented

From: http://docs.dbsake.net/en/latest/commands/upgrade-mycnf.html#example

$ dbsake upgrade-mycnf -t 5.6 --patch /etc/my.cnf
Usage: dbsake upgrade-mycnf [options]

  Upgrade a MySQL option file

Options:
  -c, --config <path>             my.cnf file to parse
  -t, --target [5.1|5.5|5.6|5.7]  MySQL version to target  [default: 5.5]
  -p, --patch                     Output unified diff rather than full config
  -?, --help                      Show this message and exit.

Error: Got unexpected extra argument (/etc/my.cnf)

This should be:

$ dbsake upgrade-mycnf -t 5.6 --patch -c /etc/my.cnf