Move command listing to 'gmx help commands'
authorTeemu Murtola <teemu.murtola@gmail.com>
Sat, 25 Jan 2014 18:07:47 +0000 (20:07 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 30 Jan 2014 04:25:52 +0000 (05:25 +0100)
commiteda326a5789c10bb86172929bcb10f667303214c
treec3f0f3a93fc99661214f89b70694e7efa9bf4483
parent02adca56654bcbb0ff8438d5fcf32b86519d35d7
Move command listing to 'gmx help commands'

Instead of printing the list of commands on 'gmx' or 'gmx help', print
it only when explicitly requested with 'gmx help commands'.  This makes
it easier to see the help about the common command line options that
'gmx' accepts.  The list of available help topics lists the 'commands'
topic, so it should be easy to find.

Related to #685.

Change-Id: I00e9ceae15ebd47d2ac129aae8e6e407f86c388a
src/gromacs/commandline/cmdlinehelpmodule.cpp