Bug #72191 mysqlfabric help does not work as documented
Submitted: 1 Apr 2014 17:54 Modified: 1 Apr 2014 22:09
Reporter: Fernando Ipar (OCA) Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Fabric Severity:S3 (Non-critical)
Version:1.4.1-1 OS:Linux
Assigned to: CPU Architecture:Any

[1 Apr 2014 17:54] Fernando Ipar
Description:
The manual indicates that 'mysqlfabric help' should provide basic help (http://dev.mysql.com/doc/mysql-utilities/1.4/en/fabric-util-help-commands.html) but when trying to run it, I can only get it to work if I always provide a group and a command too: 

[root@os01 log]# mysqlfabric help
Usage: %fabric <group> <cmd> [<option> ...] arg ...

mysqlfabric: error: Error (dispatch() takes exactly 3 arguments (1 given)). Wrong number of parameters were provided for command (manage help).
[root@os01 log]# mysqlfabric help commands
Usage: %fabric <group> <cmd> [<option> ...] arg ...

[root@os01 log]# mysqlfabric help manage
Usage: %fabric <group> <cmd> [<option> ...] arg ...

mysqlfabric: error: Error (dispatch() takes exactly 3 arguments (2 given)). Wrong number of parameters were provided for command (manage help).
[root@os01 log]# mysqlfabric help manage setup
manage setup(): Setup Fabric Storage System.

Create a database and necessary objects.

How to repeat:
run mysqlfabric help without including also a group and a command specification.
[1 Apr 2014 19:56] Sveta Smirnova
Thank you for the report.

I can not repeat this with version 1.4.2:

$ mysqlfabric help
Usage: mysqlfabric <grp> <cmd> [<option> ...] arg ...

MySQL Fabric 1.4.2 - MySQL server farm management framework

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  --param=CONFIG_PARAMS
                        Override a configuration parameter.
  --config=FILE         Read configuration from FILE.

Basic commands:
    help <mod> <cmd>  Show help for command
    help commands     List all commands
    help groups       List all groups

Please upgrade.
[1 Apr 2014 22:09] Fernando Ipar
Thank you, I just upgraded and tested again and indeed it works as expected now.