Whamcloud - gitweb
LU-9378 utils: split getstripe and find from lfs.1 64/30464/10
authorAndreas Dilger <andreas.dilger@intel.com>
Sat, 9 Dec 2017 11:26:54 +0000 (04:26 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 6 Feb 2018 04:28:16 +0000 (04:28 +0000)
commit73f15ad0f14d1b02e3ee60169bb5bf5d0f68290b
tree576da36b94db7c80f927fd8e4e1bc06306f53a98
parent8a71fd5061bd073e055e6cbba1d238305e6827bb
LU-9378 utils: split getstripe and find from lfs.1

Split the getstripe and find commands from the lfs.1 man page into
their own lfs-getstripe.1 and lfs-find.1 man pages.

While updating the lfs-find.1 man page I realized that the short
options for "-print" and "-print0" were incorrectly documented
in both the usage message as well as the man page, which implies
that the short options were rarely, if ever, used.

Fix the "--print" option to be correctly documented as "-P" instead
of "-p", and deprecate the usage of "-p" for "--print0" in favour
of "-0".  This gives us the opportunity to reclaim "-p" for "--pool",
which is already used as such for "lfs df", "lfs getstripe", and
"lfs setstripe", after some period of printing a deprecation warning.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I9aa7a415d109d269c646fd034ea77785a94cab07
Reviewed-on: https://review.whamcloud.com/30464
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/doc/Makefile.am
lustre/doc/lfs-find.1 [new file with mode: 0644]
lustre/doc/lfs-getstripe.1 [new file with mode: 0644]
lustre/doc/lfs.1
lustre/utils/lfs.c