Whamcloud - gitweb
LU-8621 utils: cmd help to stdout or short cmd error
authorAleksei Alyaev <aalyaev@ddn.com>
Thu, 23 Dec 2021 08:48:22 +0000 (11:48 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 14 Oct 2022 19:59:03 +0000 (19:59 +0000)
commit608d763955d7e0a9c438c317e595f14825e9423b
treea5d4ad2493e5113f828dfa7a4464efc2719c471c
parent77f38616ec3c88ea764686a36ddc054a7cfe91a6
LU-8621 utils: cmd help to stdout or short cmd error

- Changed to print command help to stdout
- Changed to output short error message for an unrecognized command

Lustre-change: https://review.whamcloud.com/47162/
Lustre-commit: bc69a8d058f5bcdb75e062df57a6ccd23243d1e0

Test-Parameters: trivial
Signed-off-by: Aleksei Alyaev <aalyaev@ddn.com>
Change-Id: I67616ddb576e3347a2da130b3a731a6bf8730185
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/48851
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
libcfs/libcfs/util/parser.c