btrfs-progs: use usage() to replace the warning msg on no-arg usage
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>
Thu, 13 Feb 2014 03:16:35 +0000 (11:16 +0800)
committerChris Mason <clm@fb.com>
Fri, 21 Mar 2014 13:23:15 +0000 (06:23 -0700)
commitc3dcb083d95591204aacb8fcc261fd11bcc1511d
treeb3a64fdaf7489f8626ec14629095f1fc8798dc81
parent26b2f58d78e4fca92abbf7869f94d0938606d650
btrfs-progs: use usage() to replace the warning msg on no-arg usage

To be consistent with the other cmds, replace the warning msg
with usage() when send/receive are used without any args.

Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
cmds-receive.c
cmds-send.c