From: Andreas Dilger Date: Tue, 25 Feb 2020 23:56:30 +0000 (-0700) Subject: LU-930 utils: fix lfs setstripe option description X-Git-Tag: 2.13.53~100 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=8ae646b1bd11066fef65d7fac18621946ddff6da LU-930 utils: fix lfs setstripe option description Document the "-o mode" for the file create mode in the usage message instead of the deprecated "-m mode" for setdirstripe. Fixes: fdad38781ccc ("LU-11376 lmv: new foreign LMV format") Test-Parameters: trivial Signed-off-by: Andreas Dilger Change-Id: I49259c06be57e234083c3d0f981ab674931b25d2 Reviewed-on: https://review.whamcloud.com/37730 Tested-by: Maloo Tested-by: jenkins Reviewed-by: Faccini Bruno Reviewed-by: Joseph Gmitter Reviewed-by: Oleg Drokin --- diff --git a/lustre/utils/lfs.c b/lustre/utils/lfs.c index 2bd4468..79d34a6 100644 --- a/lustre/utils/lfs.c +++ b/lustre/utils/lfs.c @@ -283,7 +283,7 @@ static inline int lfs_mirror_delete(int argc, char **argv) "\tmode: the file access permission of the directory (octal)\n" \ "To create dir with a foreign (free format) layout :\n" \ "setdirstripe|mkdir --foreign[=] -x|-xattr " \ - "[--mode|-m mode] [--flags ] \n" \ + "[--mode|-o mode] [--flags ] \n" \ "\tmode: the mode of the directory\n" \ "\tforeign_type: none or daos\n"