btrfs-progs: "device ready" accepts just one device
authorSatoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Mon, 14 Mar 2016 00:27:22 +0000 (09:27 +0900)
committerDavid Sterba <dsterba@suse.com>
Mon, 2 May 2016 12:42:09 +0000 (14:42 +0200)
commit1c40f6916be0b9469d4189c5e78c30af0bbd2a57
treea2e1775942da389a8a23c75c7f6cedee2865c902
parenteba0d8925c6811d35eca95cd9f83b15fff6f690d
btrfs-progs: "device ready" accepts just one device

* actual result

  =======================================
  # ./btrfs device ready /dev/sdb foo
  #
  =======================================

* expecting result

  =======================================
  # ./btrfs device ready /dev/sdb foo
  btrfs device ready: too many arguments
  usage: btrfs device ready <device>

      Check device to see if it has all of its devices in cache for mounting

  #
  =======================================

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