Bug #49136 WB should have a --version command line option
Submitted: 26 Nov 2009 11:42 Modified: 26 Nov 2009 16:45
Reporter: Hartmut Holzgraefe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S4 (Feature request)
Version:mysql-workbench 5.2.9 OS:Linux (Ubuntu 9.04 x86 .deb)
Assigned to: Alfredo Kojima CPU Architecture:Any

[26 Nov 2009 11:42] Hartmut Holzgraefe
Description:
I'm using a simple shell wrapper when starting workbench for testing which does the following:

- create a backup of ~/.mysql/workbench before starting WB
- start WB with stdout and stderr redirected to log files
- in the case of a crash save the core file
- create a backup of ~/.mysql/workbench after WB terminated

Right now none of the saved files do seem to contain any version info about the WB version that was running.

A --version option would be the easiest way to find out what version of WB is installed without having to start the full GUI and so could be used for logging and testing purposes.

How to repeat:
Check "mysql-workbench --help" to see that there is no --version option.

Check "mysql-workbench --version" to see that it is reported as unknown option

Suggested fix:
Add a --version option
[26 Nov 2009 14:14] Johannes Taxacher
this has been added to our repository. will be included in 5.2.10
[26 Nov 2009 16:45] Tony Bedford
A 'change' entry has been added to the 5.2.10 changelog:

MySQL Workbench now has the command line option --version, which is used to display the version of the application, when launching the application from the command line.