From: Wang Sheng-Hui Date: Tue, 16 Oct 2012 07:29:15 +0000 (+0800) Subject: btrfs-progs: add -V description in print_usage X-Git-Tag: upstream/4.16.1~3481 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb2cfccf81691af1db5519cb1f4eb4abfbafbf9f;p=platform%2Fupstream%2Fbtrfs-progs.git 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 --- 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); }