From b8ef80984140201bb4b994ee745757f07ad5f832 Mon Sep 17 00:00:00 2001 From: Arshad Hussain Date: Thu, 25 Mar 2021 16:20:59 +0530 Subject: [PATCH 1/1] LU-11839 iokit: Fix help message This patch fixes help message of iokit-gather-stats to properly add "--help" instead of "-help". Two hyphen/dashes are expected by getopts. Test-Parameters: trivial Signed-off-by: Arshad Hussain Change-Id: I64270598fc19377571b68066d617b50fcb48cc12 Reviewed-on: https://review.whamcloud.com/43114 Tested-by: jenkins Tested-by: Maloo Reviewed-by: James Nunez Reviewed-by: James Simmons Reviewed-by: Oleg Drokin --- lustre-iokit/stats-collect/iokit-gather-stats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre-iokit/stats-collect/iokit-gather-stats b/lustre-iokit/stats-collect/iokit-gather-stats index 336d249..9dc1399 100755 --- a/lustre-iokit/stats-collect/iokit-gather-stats +++ b/lustre-iokit/stats-collect/iokit-gather-stats @@ -31,7 +31,7 @@ debug () { } usage() { - printf $"Usage: iokit-gather-stats [-help] config_file [start|stop|cleanup] \n" + printf $"Usage: iokit-gather-stats [--help|-h] config_file [start|stop|cleanup] \n" if [ x$1 = x-h ]; then printf $" The distribution script will run on a single node. It is parameterised -- 1.8.3.1