From 0d63e3c7490d63cc628073b0af173928ac6cfc38 Mon Sep 17 00:00:00 2001 From: Hongchao Zhang Date: Sun, 16 Apr 2017 05:36:19 +0800 Subject: [PATCH] LU-9343 utils: update the usage of hsm_remove Update the usage of hsm_remove in lfs to describe it more correctly. Change-Id: I2934f0d7038f418dbad3a7e7365c7cd655ee28da Signed-off-by: Hongchao Zhang Reviewed-on: https://review.whamcloud.com/26882 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Quentin Bouget --- lustre/utils/lfs.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lustre/utils/lfs.c b/lustre/utils/lfs.c index 026e36e..53929b6 100644 --- a/lustre/utils/lfs.c +++ b/lustre/utils/lfs.c @@ -352,12 +352,14 @@ command_t cmdlist[] = { "usage: hsm_release [--filelist FILELIST] [--data DATA] ..."}, {"hsm_remove", lfs_hsm_remove, 0, "Remove file copy from external storage.\n" - "usage: hsm_remove [--filelist FILELIST] [--data DATA]\n" - " [--mntpath MOUNTPATH] [--archive NUM] ...\n" + "usage: hsm_remove [--filelist FILELIST] [--data DATA] " + "[--archive NUM]\n" + " (FILE [FILE ...] | " + "--mntpath MOUNTPATH FID [FID ...])\n" "\n" - "Note: To remove files from the archive that have been deleted on\n" - "Lustre, set mntpath and optionally archive. In that case, all the\n" - "positional arguments and entries in the file list must be FIDs." + "Note: To remove an archived copy of a file already deleted from a " + "Lustre FS, the\n" + "--mntpath option and a list of FIDs must be specified" }, {"hsm_cancel", lfs_hsm_cancel, 0, "Cancel requests related to specified files.\n" -- 1.8.3.1