Feature #1524

More uniform options to programs.

Added by David van der Spoel over 6 years ago. Updated over 4 years ago.

analysis tools
Target version:


In order to make the behavior of all the programs and tools more uniform we should prevent using the same option with very different function in different tools. One such example is the -v for verbose flag. It is used in quite a few programs, but some analysis tools use it for other things. This could be implemented in the default options in parse_common_args and then stored in output_environment_t, which already has a field verbosity_level (which is always initialized to 0).

Category analysis tools but applies for grompp pdb2gmx mdrun etc. as well.


#1 Updated by Teemu Murtola over 6 years ago

No new options should be added to parse_common_args(), since that is not used by the new analysis tools (and possibly others will follow suit in the far future...). Common options can be added to cmdlinerunner.cpp, where -quiet already is.

#2 Updated by David van der Spoel over 6 years ago

Another such option would be the precision of output files. Some of the analysis tools have a -dp flag, but this could be used throughout the code and set in the output environment variable.

#3 Updated by Gerrit Code Review Bot over 6 years ago

Gerrit received a related patchset '1' for Issue #1524.
Uploader: Paul van Maaren ()
Change-Id: If78a163b2a0cbfd2858390846327d86b50df9959
Gerrit URL:

#4 Updated by Mark Abraham over 4 years ago

  • Target version deleted (5.x)

#5 Updated by David van der Spoel over 4 years ago

  • Status changed from New to Rejected

Rejected because this will automagically happen when programs are converted to use the new options code.

#6 Updated by David van der Spoel over 4 years ago

  • Status changed from Rejected to Closed

Also available in: Atom PDF