1
1
openmpi/opal/tools/wrappers
Jeff Squyres 97b3603036 A bunch of fixes and improvements to Open MPI's various command line tools.
* fixed some bugs where "unknown" tokens were allowed on the command
   line (which should really only be used for ortertun).
 * if an unknown token is encountered, print a short error to stderr
   and quit with a nonzero exit status
 * if we don't find the right number of parameters to an option, print
   a short error to stderr and quit with a nonzero exit status
 * when --help is given, print the help message to stdout (not stderr)
   and quit with a zero exit status
 * added --showme:help option to the wrapper compilers
 * updated docs in opal/util/cmd_line.h
 * other small/miscellaneous CLI parsing bugs in various tools

I won't bore you with what we did before.  :-)  Here's some examples
of what the new behavior looks like:

{{{
% ompi_info --bogus
ompi_info: Error: unknown option "--bogus"
Type 'ompi_info --help' for usage.
% ompi_info --param bogus
ompi_info: Error: option "--param" did not have enough parameters (2)
Type 'ompi_info --help' for usage.
%
}}}

This commit was SVN r26072.
2012-02-29 17:52:38 +00:00
..
CMakeLists.txt Add the initial support for MinGW and MSYS. 2011-04-29 14:42:07 +00:00
generic_wrapper.1in A bunch of fixes and improvements to Open MPI's various command line tools. 2012-02-29 17:52:38 +00:00
help-opal-wrapper.txt A bunch of fixes and improvements to Open MPI's various command line tools. 2012-02-29 17:52:38 +00:00
Makefile.am Add pkg-config(1) config files to Open MPI. Additionally, fix a minor 2010-02-24 18:46:06 +00:00
opal_wrapper.1in Putback for all changes to automate man page updates to strings of 2008-08-01 21:14:37 +00:00
opal_wrapper.c A bunch of fixes and improvements to Open MPI's various command line tools. 2012-02-29 17:52:38 +00:00
opal.pc.in Add pkg-config(1) config files to Open MPI. Additionally, fix a minor 2010-02-24 18:46:06 +00:00
opalc++-wrapper-data.txt.in Revert remaining svn kruft from r23764 2010-09-22 01:11:40 +00:00
opalcc-wrapper-data.txt.in Revert remaining svn kruft from r23764 2010-09-22 01:11:40 +00:00