From 2dac2b33c7fe20028ea7650b84d57d28607d0dc6 Mon Sep 17 00:00:00 2001 From: Carlo Camilloni <carlo.camilloni@gmail.com> Date: Wed, 9 Oct 2013 18:06:13 +0100 Subject: [PATCH] added --help in the help section to get the help for commands --- src/core/CLToolMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/CLToolMain.cpp b/src/core/CLToolMain.cpp index a4a20762b..9d13933d5 100644 --- a/src/core/CLToolMain.cpp +++ b/src/core/CLToolMain.cpp @@ -181,7 +181,7 @@ int CLToolMain::run(int argc, char **argv,FILE*in,FILE*out,Communicator& pc){ if(printhelp){ string msg= "Usage: plumed [options] [command] [command options]\n" - " plumed [command] -h : to print help for a specific command\n" + " plumed [command] -h|--help: to print help for a specific command\n" "Options:\n" " [help|-h|--help] : to print this help\n" " [--has-mpi] : fails if plumed is running without MPI\n" -- GitLab