From: Vladimir Koushnir <[email protected]> Date: Wed, 9 Sep 2015 14:29:38 +0300
-D and -list saquery options are operational only when -N option is explicitly invoked (default option) This patch allows using -D or --list options when no other option is invoked. Signed-off-by: Vladimir Koushnir <[email protected]> Signed-off-by: Hal Rosenstock <[email protected]> --- src/saquery.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/saquery.c b/src/saquery.c index 4343e33..db863f2 100644 --- a/src/saquery.c +++ b/src/saquery.c @@ -1591,6 +1591,7 @@ static int process_opt(void *context, int ch, char *optarg) break; case 'D': node_print_desc = ALL_DESC; + command = SAQUERY_CMD_NODE_RECORD; break; case 'c': command = SAQUERY_CMD_CLASS_PORT_INFO; -- 1.7.8.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
