From: nathan Date: Tue, 30 May 2006 22:57:01 +0000 (+0000) Subject: Branch b1_5 X-Git-Tag: v1_7_100~1^90~8^2~191 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f9c0c2f368d315f3aff5d1f07cad8ef6ac6451a6;p=fs%2Flustre-release.git Branch b1_5 add --noformat alias for --print --- diff --git a/lustre/utils/mkfs_lustre.c b/lustre/utils/mkfs_lustre.c index 43dec1d..1458c6d 100644 --- a/lustre/utils/mkfs_lustre.c +++ b/lustre/utils/mkfs_lustre.c @@ -103,8 +103,8 @@ void usage(FILE *out) "\t\t--nomgs: turn off MGS service on this MDT\n" "\t\t--writeconf: erase all config logs for this fs.\n" #endif - "\t\t--print: just report what we would do; don't write to " - "disk\n" + "\t\t--print (or --noformat): just report what we would do; " + "don't write to disk\n" "\t\t--verbose\n" "\t\t--quiet\n"); return; @@ -905,6 +905,7 @@ int parse_opts(int argc, char *const argv[], struct mkfs_opts *mop, {"mgsnid", 1, 0, 'm'}, {"mdt", 0, 0, 'M'}, {"fsname",1, 0, 'n'}, + {"noformat", 0, 0, 'P'}, {"nomgs", 0, 0, 'N'}, {"mountfsoptions", 1, 0, 'o'}, {"ost", 0, 0, 'O'},