summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@gmail.com>2012-10-16 15:29:15 +0800
committerDavid Sterba <dsterba@suse.cz>2013-01-17 18:27:18 +0100
commitbb2cfccf81691af1db5519cb1f4eb4abfbafbf9f (patch)
tree3a5d0eb44b9147b37295d0fd18d7d4af51f4e360
parent7385c8ab2ca9b6ba39503c1a5f876c5f199cd5ee (diff)
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 <shhuiw@gmail.com>
-rw-r--r--mkfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkfs.c b/mkfs.c
index 8fda48a8..7b72926a 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);
}