btrfs-progs: fi resize: fix parsing of negative argument
authorDavid Sterba <dsterba@suse.com>
Thu, 16 Jun 2016 11:27:26 +0000 (13:27 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 17 Jun 2016 15:02:12 +0000 (17:02 +0200)
commit62f900c44590ff4f31ba04fff629fcd1c822e6e3
treedfd4652dd732bbfdaab93993ce72017bc58b1c86
parent18c6850fe1d06a31834da340387f94a6940197b9
btrfs-progs: fi resize: fix parsing of negative argument

The cleanup of option parsing caused a regression where the negative
resize argument is recognized as short options and the command fails.
Use the new helper to allow that.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=119971
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-filesystem.c