From: Arshad Hussain Date: Thu, 25 Mar 2021 10:50:59 +0000 (+0530) Subject: LU-11839 iokit: Fix help message X-Git-Tag: 2.14.52~7 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=b8ef80984140201bb4b994ee745757f07ad5f832;hp=061b14b7e425fb200c8b44d87cf9d217671c9f28 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 --- 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