Whamcloud - gitweb
LU-13107 utils: clean up lctl command usage 08/37108/4
authorAndreas Dilger <adilger@whamcloud.com>
Sat, 28 Dec 2019 09:42:54 +0000 (02:42 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 5 May 2021 02:49:39 +0000 (02:49 +0000)
commitb0efebdaef52d8ac9b02857166ceb00079612ebc
tree6fd900504c61d8f50786783f8af05b97743a1ee9
parent0e008ef67c8ef47d4504641ae3733eedf7981733
LU-13107 utils: clean up lctl command usage

The lctl usage is confusing because it lists a number of valid
commands after "testing (DANGEROUS)", such as LFSCK and llog.

Move the useful commands before the "testing" section so it is
not mis-interpreted as all following commands are dangerous.
Group some other commands together with more related commands,
rather than whatever order they happened to be imlpemented in.

Remove function prototypes for commands that no longer exist.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I469f9c92953762cc46a68e44238c4b67ebacab07
Reviewed-on: https://review.whamcloud.com/37108
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Stephane Thiell <sthiell@stanford.edu>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/lctl.c
lustre/utils/obdctl.h