gmx trjconv -pbc cluster claims to have -clustercenter option but does not (5.1.2)
gmx trjconv -h contains the text:
The separate option -clustercenter can be used to specify an approximate
center for the cluster. This is useful e.g. if you have two big vesicles,
and you want to maintain their relative positions.
However, that (useful) option doesn’t seem to actually exist:
gmx trjconv -pbc cluster -f EMet.gro -s EM.tpr -o aha.gro -n aha.ndx -clustercenter
------------------------------------------------------- Program: gmx trjconv, VERSION 5.1.2 Source file: src/gromacs/commandline/cmdlineparser.cpp (line 234) Function: void gmx::CommandLineParser::parse(int *, char **) Error in user input: Invalid command-line options Unknown command-line option -clustercenter
Also, searching the 5.1.2 source code for gmx_trjconv.c doesn't have any mention of "clustercenter" except in the help file.
Remove docs for unimplemented trjconv -clustercenter
2d8b8dd16d8 introduced a partial implementation, which was removed in
73b83321 because it introduced variables that were unused. However,
the matching documentation was not removed then.
#2 Updated by Aleksei Iupinov about 4 years ago
The file has been moved and renamed to gmx_trjconv.cpp.
This specific option was removed in revision 73b83321.
Looking at commit history, this and other similar commits at that moment removed quite a few command line options without amending the documentation at the same time.
#7 Updated by Aleksei Iupinov about 4 years ago
I did not look closely, but just grepping changes for "opt2" shows line
bQuad = opt2bSet("-q", NFILE, fnm);
being removed, for example. Many slight changes, all without touching the docs.
So I have no clue, of course, if it was the old code catching up with the documentation, or the other way round :-)