Re: [PATCH v2 0/4] btrfs-progs: Use common function to parse unit arguments

2015-08-31 Thread David Sterba
On Mon, Aug 31, 2015 at 07:03:40PM +0800, Zhao Lei wrote: > Zhao Lei (4): > btrfs-progs: Introduce get_unit_mode_from_arg for common use > btrfs-progs: Use common unit parser for btrfs filesystem command > btrfs-progs: Use common unit parser for btrfs device command > btrfs-progs: Use commo

[PATCH v2 0/4] btrfs-progs: Use common function to parse unit arguments

2015-08-31 Thread Zhao Lei
We are using separate code for parse unit mode in current code, better to use common function. This patchset introduce common function to parse arguments for setting unit: get_unit_mode_from_arg() and common help message for unit argument, to make every tool in btrfs having same interface for sett