]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_io: clean up the funshare command a bit
authorDarrick J. Wong <djwong@kernel.org>
Wed, 28 Jul 2021 23:01:23 +0000 (19:01 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 28 Jul 2021 23:01:23 +0000 (19:01 -0400)
commitd87ec7f2de48e17a0ee5e88c65484bc4a57ac655
tree08e3fc85d2c2b0e0e0984efe83cfcff422307a6b
parentce61e74a8219f3429113761d81cdfefaebb7a15a
xfs_io: clean up the funshare command a bit

Add proper argument parsing to the funshare command so that when you
pass it nonexistent --help it will print the help instead of complaining
that it can't convert that to a number.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
io/prealloc.c