Skip to contentSkip to conversation

btrfs-progs: add -V description in print_usage

PATCH New Wang Sheng-Hui 1 participant 1 message Oct 16, 2012 Btrfs file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 btrfs-progs: add -V description in print_usage

mkfs supports the option -V/--version.
Add its description to print_usage().

---
 mkfs.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
mkfs.c +1 -0
index 47f0c9c..2cc6051 100644
@@ -349,6 +349,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);
 }
Signature · 1 line
1.7.5.4