From 72ac681d5d686d5626be606cc87ddeeed0b8e3a0 Mon Sep 17 00:00:00 2001 From: Dmitry Eremin Date: Wed, 1 Jun 2016 15:37:42 +0300 Subject: [PATCH] LU-7747 lfs: fix help message for migrate Combine two different help messages for migrate in one. Test-Parameters: trivial Change-Id: I2b44006dbd9114155cf7a1f65e68d3796f857ee3 Signed-off-by: Dmitry Eremin Reviewed-on: http://review.whamcloud.com/20541 Tested-by: Jenkins Reviewed-by: Bob Glossman Tested-by: Maloo Reviewed-by: Andreas Dilger --- lustre/utils/lfs.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lustre/utils/lfs.c b/lustre/utils/lfs.c index 14a84a9..90cbfa0 100644 --- a/lustre/utils/lfs.c +++ b/lustre/utils/lfs.c @@ -364,19 +364,19 @@ command_t cmdlist[] = { "migrate a directory between MDTs.\n" "usage: migrate --mdt-index [--verbose|-v] " "\n" - "\tmdt_idx: index of the destination MDT\n"}, - {"migrate", lfs_setstripe, 0, + "\tmdt_idx: index of the destination MDT\n" + "\n" "migrate file objects from one OST " "layout\nto another (may be not safe with concurent writes).\n" - "usage: migrate " + "usage: migrate " "[--stripe-count|-c] \n" - "[--stripe-index|-i] \n" - "[--stripe-size|-S] \n" - "[--pool|-p] \n" - "[--ost-list|-o] \n" - "[--block|-b]\n" - "[--non-block|-n]\n" - "\n" + " [--stripe-index|-i] \n" + " [--stripe-size|-S] \n" + " [--pool|-p] \n" + " [--ost-list|-o] \n" + " [--block|-b]\n" + " [--non-block|-n]\n" + " \n" "\tstripe_count: number of OSTs to stripe a file over\n" "\tstripe_ost_index: index of the first OST to stripe a file over\n" "\tstripe_size: number of bytes to store before moving to the next OST\n" -- 1.8.3.1