From 7f6263cdd4d6107b464cdc604aaadf0f13eb4d3e Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Tue, 30 Jun 2020 21:48:02 +0200 Subject: [PATCH] Update out of date documentation for opal_cmd_line_create() Signed-off-by: Christoph Niethammer --- opal/util/cmd_line.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/opal/util/cmd_line.h b/opal/util/cmd_line.h index 9c49bc2536..ce92259cec 100644 --- a/opal/util/cmd_line.h +++ b/opal/util/cmd_line.h @@ -195,7 +195,7 @@ BEGIN_C_DECLS OPAL_CMD_LINE_OTYPE_DVM, OPAL_CMD_LINE_OTYPE_UNSUPPORTED, OPAL_CMD_LINE_OTYPE_PARSABLE, - OPAL_CMD_LINE_OTYPE_NULL + OPAL_CMD_LINE_OTYPE_NULL /* include in full help only */ }; /** * \internal @@ -286,16 +286,17 @@ BEGIN_C_DECLS * * \code * opal_cmd_line_init_t cmd_line_init[] = { - * { NULL, NULL, NULL, 'h', NULL, "help", 0, + * { NULL, 'h', NULL, "help", 0, * &orterun_globals.help, OPAL_CMD_LINE_TYPE_BOOL, - * "This help message" }, + * "This help message", OPAL_CMD_LINE_OTYPE_GENERAL }, * - * { NULL, NULL, NULL, '\0', NULL, "wd", 1, + * { NULL, '\0', NULL, "wd", 1, * &orterun_globals.wd, OPAL_CMD_LINE_TYPE_STRING, - * "Set the working directory of the started processes" }, + * "Set the working directory of the started processes", + * OPAL_CMD_LINE_OTYPE_LAUNCH }, * - * { NULL, NULL, NULL, '\0', NULL, NULL, 0, - * NULL, OPAL_CMD_LINE_TYPE_NULL, NULL } + * { NULL, '\0', NULL, NULL, 0, + * NULL, OPAL_CMD_LINE_TYPE_NULL, NULL, OPAL_CMD_LINE_OTYPE_NULL } * }; * \endcode */