Improve 'g_ana help'.
authorTeemu Murtola <teemu.murtola@gmail.com>
Wed, 16 May 2012 06:51:50 +0000 (09:51 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Tue, 29 May 2012 13:56:54 +0000 (16:56 +0300)
commit7c771f0aa73848b215806dbd5a25bc1027a76ce0
tree73a4c31cf37c7b9c1b9000647f57a3f6d526a721
parent1440526f9793d93a858905c0df55cd79bae3c7b3
Improve 'g_ana help'.

- 'g_ana help' now internally uses the new online help classes.
  Without any additional arguments, it still prints out the list of
  commands, and now also list of additional help topics.
- 'g_ana help <command>' prints help for the given command (the same as
  'g_ana <command> -h' for the trajectory analysis modules).
- 'g_ana help selections <subtopic>' can be used to access the general
  help for selections.

IssueID #666.

Change-Id: Id34044842b297591923bef242a93b4ae1ae9e14e
13 files changed:
src/gromacs/commandline/cmdlinemodule.h
src/gromacs/commandline/cmdlinemodulemanager.cpp
src/gromacs/commandline/cmdlinemodulemanager.h
src/gromacs/commandline/tests/cmdlinemodulemanager.cpp
src/gromacs/onlinehelp/helpformat.cpp
src/gromacs/selection/selectioncollection.cpp
src/gromacs/selection/selectioncollection.h
src/gromacs/trajectoryanalysis/cmdlinerunner.cpp
src/gromacs/trajectoryanalysis/cmdlinerunner.h
src/gromacs/trajectoryanalysis/modules.cpp
src/gromacs/utility/file.cpp
src/gromacs/utility/file.h
src/programs/g_ana/g_ana.cpp