Whamcloud - gitweb
LU-5170 utils: Add support for --list-commands option 02/24902/4
authorSteve Guminski <stephenx.guminski@intel.com>
Fri, 13 Jan 2017 15:43:35 +0000 (10:43 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 15 Feb 2017 01:03:22 +0000 (01:03 +0000)
commit723f40030aa289f0b44d9394cc2e15a4d1772600
tree3033e82d3e0f4e5856895113a469a138de6b3f0e
parent70e9d4ecc9130aeed1260d78cd8b33a5cde6edd7
LU-5170 utils: Add support for --list-commands option

A --list-commands option has been added to lfs, lctl, lnetctl and
lst to output a list of the commands supported by each utility. The
commands are printed in a multi-column format to produce more compact
output that is easier to read.  The appropriate man pages have been
updated to include the new options.

The obsolete ACL and join commands have been removed from lfs.

Signed-off-by: Steve Guminski <stephenx.guminski@intel.com>
Change-Id: I3715049539c76e0cd03accfccfbf7eda6f4bf2ff
Reviewed-on: https://review.whamcloud.com/24902
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
12 files changed:
libcfs/include/libcfs/util/parser.h
libcfs/libcfs/util/parser.c
lnet/utils/lnetctl.c
lnet/utils/lst.c
lustre/doc/lctl.8
lustre/doc/lfs.1
lustre/doc/lnetctl.8
lustre/doc/lst.8
lustre/include/lustre/lustre_idl.h
lustre/include/lustre/lustreapi.h
lustre/utils/lctl.c
lustre/utils/lfs.c