btrfs-progs: btrfs-crc: print usage on receiving invalid arguments
authorSatoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Thu, 2 Jun 2016 08:11:51 +0000 (17:11 +0900)
committerDavid Sterba <dsterba@suse.com>
Fri, 3 Jun 2016 12:49:42 +0000 (14:49 +0200)
commit9e4e17f361ead472018692a463cdf6ddefe8f67e
tree01474098ea8881c94ddfcaabaae3b489ac315864
parentad1295fb04a4a12ff206b679a02ff165eb02e33a
btrfs-progs: btrfs-crc: print usage on receiving invalid arguments

Usage is only printed if -h option is set. However it's nice to
do it when wrong option is set or the number of argument is wrong.

Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
btrfs-crc.c