Add -V|--version to mkfs.btrfs argument parser
authorLuca Bruno <lucab@debian.org>
Wed, 3 Jun 2009 16:00:20 +0000 (12:00 -0400)
committerChris Mason <chris.mason@oracle.com>
Wed, 3 Jun 2009 16:15:40 +0000 (12:15 -0400)
commit3fb5c031fe582bcf6d4a0f91b9b8a3aeb1e2a8e1
tree1687455e24a0acfffaa4b2382f97dfd332acf454
parentbf2b9d2ba459d43b150f5ad36ff0f2c8b0264f88
Add -V|--version to mkfs.btrfs argument parser

mkfs.btrfs now prints its version when invoked with -V|--version
and exits without error.

All other mkfs.* tools provide this feature and follow this
implicit argument naming convention, as it is commonly used to
check for helper tools presence.

The corrisponding manual already mentions this option, no need to
touch it.

Signed-off-by: Luca Bruno <lucab@debian.org>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
mkfs.c