Bug #71441 Command mysqlfabric should provide basic help
Submitted: 21 Jan 2014 11:11 Modified: 13 Jan 2015 8:29
Reporter: Mats Kindahl Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Fabric Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any
Tags: mysqlfabric

[21 Jan 2014 11:11] Mats Kindahl
Description:

Currently, when you execute mysqlfabric without any option, you have no idea what to do. This is a basic usability issue.

We need to give at least something which tells how to get the list of commands.

How to repeat:
$ mysqlfabric 
  Usage: %fabric <group> <cmd> [<option> ...] arg ...

  mysqlfabric: error: No command was defined.

Suggested fix:
For example (take from the output of bzr):

$ mysqlfabric
  Usage: %fabric <group> <cmd> [<option> ...] arg ...

  mysqlfabric: error: No command was defined.

  Basic commands:
    mysqlfabric manage start     Start the Fabric server.       
    mysqlfabric list-commands    List the possible commands.
[21 Jan 2014 11:11] Mats Kindahl
Verified as described. This bug was reported by Todd.