Update the usage of hsm_remove in lfs to describe it more correctly.
Change-Id: I2934f0d7038f418dbad3a7e7365c7cd655ee28da
Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Reviewed-on: https://review.whamcloud.com/26882
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Quentin Bouget <quentin.bouget@cea.fr>
"usage: hsm_release [--filelist FILELIST] [--data DATA] <file> ..."},
{"hsm_remove", lfs_hsm_remove, 0,
"Remove file copy from external storage.\n"
"usage: hsm_release [--filelist FILELIST] [--data DATA] <file> ..."},
{"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] <file|FID> ...\n"
+ "usage: hsm_remove [--filelist FILELIST] [--data DATA] "
+ "[--archive NUM]\n"
+ " (FILE [FILE ...] | "
+ "--mntpath MOUNTPATH FID [FID ...])\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"
},
{"hsm_cancel", lfs_hsm_cancel, 0,
"Cancel requests related to specified files.\n"