From patchwork Fri Mar 27 09:00:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Domke X-Patchwork-Id: 6104321 X-Patchwork-Delegate: hal@mellanox.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E1176BF90F for ; Fri, 27 Mar 2015 09:17:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0C4A12035D for ; Fri, 27 Mar 2015 09:17:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 98B0D20353 for ; Fri, 27 Mar 2015 09:17:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753566AbbC0JR0 (ORCPT ); Fri, 27 Mar 2015 05:17:26 -0400 Received: from mailout2.zih.tu-dresden.de ([141.30.67.73]:54980 "EHLO mailout2.zih.tu-dresden.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752724AbbC0JRZ (ORCPT ); Fri, 27 Mar 2015 05:17:25 -0400 X-Greylist: delayed 998 seconds by postgrey-1.27 at vger.kernel.org; Fri, 27 Mar 2015 05:17:25 EDT Received: from mail.zih.tu-dresden.de ([141.76.14.4]) by mailout2.zih.tu-dresden.de with esmtp (Exim 4.63) (envelope-from ) id 1YbQ8B-00043H-PL; Fri, 27 Mar 2015 10:00:43 +0100 Received: from [141.76.90.124] (helo=legion.inf.tu-dresden.de) by server-50.mailclusterdns.zih.tu-dresden.de with esmtpsa (TLSv1.2:AES128-SHA:128) (envelope-from ) id 1YbQ8B-0000f8-9R; Fri, 27 Mar 2015 10:00:43 +0100 From: Jens Domke To: linux-rdma@vger.kernel.org Cc: Hal Rosenstock Subject: [PATCH 1/1] OpenSM: command line option ignore-guids broken Date: Fri, 27 Mar 2015 10:00:52 +0100 Message-Id: <1427446852-11864-1-git-send-email-jens.domke@tu-dresden.de> X-Mailer: git-send-email 1.9.1 X-TUD-Virus-Scanned: mailout2.zih.tu-dresden.de Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP this patch changes the documentation (--help and man page) from --ignore-guids to --ignore_guids, so that it matches the implementation Signed-off-by: Jens Domke --- doc/current-routing.txt | 2 +- man/opensm.8.in | 6 +++--- opensm/main.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/current-routing.txt b/doc/current-routing.txt index d23ae0d..acfeb56 100644 --- a/doc/current-routing.txt +++ b/doc/current-routing.txt @@ -127,7 +127,7 @@ subscription is also equalized with the ability to override based on port GUID. The latter is supplied by: -i --ignore-guids +--ignore_guids This option provides the means to define a set of ports (by guids) that will be ignored by the link load equalization algorithm. diff --git a/man/opensm.8.in b/man/opensm.8.in index c1092cc..8ea127d 100644 --- a/man/opensm.8.in +++ b/man/opensm.8.in @@ -37,7 +37,7 @@ opensm \- InfiniBand subnet manager and administration (SM/SA) [\-\-maxsmps ] [\-\-console [off | local | socket | loopback]] [\-\-console-port ] -[\-i(gnore-guids) ] +[\-i | \-\-ignore_guids ] [\-w | \-\-hop_weights_file ] [\-O | \-\-port_search_ordering_file ] [\-O | \-\-dimn_ports_file ] (DEPRECATED) @@ -298,7 +298,7 @@ Specify an alternate telnet port for the socket console (default 10000). Note that this option only appears if OpenSM was built with --enable-console-socket. .TP -\fB\-i\fR, \fB\-\-ignore-guids\fR +\fB\-i\fR, \fB\-\-ignore_guids\fR This option provides the means to define a set of ports (by node guid and port number) that will be ignored by the link load equalization algorithm. @@ -987,7 +987,7 @@ port GUID. The latter is supplied by: -i .br -\-\-ignore-guids +\-\-ignore_guids This option provides the means to define a set of ports (by guid) that will be ignored by the link load equalization algorithm. Note that only endports (CA, diff --git a/opensm/main.c b/opensm/main.c index 6551a37..8419e68 100644 --- a/opensm/main.c +++ b/opensm/main.c @@ -289,7 +289,7 @@ static void show_usage(void) " Specify an alternate telnet port for the console (default %d).\n\n", OSM_DEFAULT_CONSOLE_PORT); #endif - printf("--ignore-guids, -i \n" + printf("--ignore_guids, -i \n" " This option provides the means to define a set of ports\n" " (by guid) that will be ignored by the link load\n" " equalization algorithm.\n\n");