diff options
author | Wang Sheng-Hui <shhuiw@gmail.com> | 2012-10-16 15:29:15 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-01-17 18:27:18 +0100 |
commit | bb2cfccf81691af1db5519cb1f4eb4abfbafbf9f (patch) | |
tree | 3a5d0eb44b9147b37295d0fd18d7d4af51f4e360 | |
parent | 7385c8ab2ca9b6ba39503c1a5f876c5f199cd5ee (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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |