Whamcloud - gitweb
LU-13705 utils: fix llstat -n option 89/49289/3
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 1 Dec 2022 00:04:26 +0000 (17:04 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 13 Dec 2022 16:09:52 +0000 (16:09 +0000)
commitb455b42fa8752bb3fbac9b2501e2092ec66b3958
tree9b9eeca81af1ea264b0d8234d236c7cdf03a1b17
parentc8a33e5322b0675680f8d737f04259799d30aa0e
LU-13705 utils: fix llstat -n option

The '-n' option was not configured as a valid option for getopt
and would return an error if specified, instead of limiting the
number of stats outputs as it should.

Test-Parameters: trivial
Fixes: 3e0d994fbf4c ("LU-13705 utils: improve llstat/llobdstat usability")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ifacafce741854fe12b80ced28e95bc7cc9254035
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49289
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Feng Lei <flei@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/llstat