From bb2cfccf81691af1db5519cb1f4eb4abfbafbf9f Mon Sep 17 00:00:00 2001 From: Wang Sheng-Hui Date: Tue, 16 Oct 2012 15:29:15 +0800 Subject: [PATCH] btrfs-progs: add -V description in print_usage mkfs supports the option -V/--version. Add its description to print_usage(). Signed-off-by: Wang Sheng-Hui --- mkfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mkfs.c b/mkfs.c index 8fda48a..7b72926 100644 --- a/mkfs.c +++ b/mkfs.c @@ -350,6 +350,7 @@ static void print_usage(void) fprintf(stderr, "\t -s --sectorsize min block allocation\n"); fprintf(stderr, "\t -r --rootdir the source directory\n"); fprintf(stderr, "\t -K --nodiscard do not perform whole device TRIM\n"); + fprintf(stderr, "\t -V --version print the mkfs.btrfs version and exit\n"); fprintf(stderr, "%s\n", BTRFS_BUILD_VERSION); exit(1); } -- 2.7.4