[PATCH v2 2/4] btrfs-progs: deal with invalid option combinations for btrfs-image

2014-06-23 Thread Gui Hecheng
For btrfs-image, dumpmay not come with option '-o' -r may not come with option '-c', '-s', '-w', dev_cnt != 1 -m may not come with dev_cnt 2 All of the above should be regarded as invalid combinations, and the usage will show up. Signed-off-by: Gui Hecheng

Re: [PATCH v2 2/4] btrfs-progs: deal with invalid option combinations for btrfs-image

2014-06-23 Thread Gui Hecheng
On Tue, 2014-06-24 at 10:36 +0800, Gui Hecheng wrote: For btrfs-image, dumpmay not come with option '-o' -r may not come with option '-c', '-s', '-w', dev_cnt != 1 -m may not come with dev_cnt 2 All of the above should be regarded as invalid combinations, and