btrfs-progs: device add: cleanup argument handling
authorAnand Jain <anand.jain@oracle.com>
Sat, 10 Oct 2015 14:30:57 +0000 (22:30 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 2 Nov 2015 08:35:03 +0000 (09:35 +0100)
commit89c0e3b706a80e8e69780d5cd784b546399e0b75
treeb3b4c6e3aed40bde4595d54ac475c947cbf55f43
parent3b879467b11ee727bba93969868beeefa72a097d
btrfs-progs: device add: cleanup argument handling

This is needed by the patch which introduces new devid option for the
btrfs device delete.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-device.c