Whamcloud - gitweb
LU-8621 utils: cmd help to stdout or short cmd error 62/47162/3
authorAleksei Alyaev <aalyaev@ddn.com>
Thu, 23 Dec 2021 08:48:22 +0000 (11:48 +0300)
committerOleg Drokin <green@whamcloud.com>
Mon, 11 Jul 2022 06:51:09 +0000 (06:51 +0000)
commitbc69a8d058f5bcdb75e062df57a6ccd23243d1e0
tree6c4779f43cdb1459a028ee4e5e54ba071ecd66c4
parent6ab060e58e6b3f38b0c8d57b56fec887c6fe9fb6
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

Test-Parameters: trivial
Signed-off-by: Aleksei Alyaev <aalyaev@ddn.com>
Change-Id: I67616ddb576e3347a2da130b3a731a6bf8730185
Reviewed-on: https://review.whamcloud.com/47162
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/libcfs/util/parser.c