Print common options to 'gmx -h'
authorTeemu Murtola <teemu.murtola@gmail.com>
Sat, 25 Jan 2014 05:38:21 +0000 (07:38 +0200)
committerTeemu Murtola <teemu.murtola@gmail.com>
Wed, 29 Jan 2014 17:59:26 +0000 (19:59 +0200)
commit64d349b28b1dedf5b6f23560eae283faa7b8c85d
tree638bbdc39d9075aec4deb51682ff234a7631a9c3
parent463ddbbd8061b3e10c19f9caf038aea0887eff11
Print common options to 'gmx -h'

The help shown for the wrapper binary now includes the command line
options it accepts.  Remaining issues that will be fixed separately:
 - Unlike other help output, this output is actually influenced by what
   the user specifies on the command line.
 - The information is not so easy to find, because of the long list of
   subcommands that comes after it.
 - The information should go to some man page as well.

Related to #685.

Change-Id: Iac72dd21d4a733016b331549e139d4184bd3e283
src/gromacs/commandline/cmdlinehelpcontext.cpp
src/gromacs/commandline/cmdlinehelpcontext.h
src/gromacs/commandline/cmdlinehelpmodule.cpp
src/gromacs/commandline/cmdlinehelpmodule.h
src/gromacs/commandline/cmdlinemodulemanager.cpp