Re: [PATCH 8/8] zramctl: allow use of --algorithm and --streams alone

Bernhard Voelker
2014-08-03T23:24:48Z

On 08/04/2014 01:08 AM, Sami Kerola wrote:
> Earlier the --algorithm and --streams had to be combined with --size. To
> user requirement to combine with --size was indirectly told using
> following message.

Sorry, I can't parse this. What do you mean?

> $ zramctl --stream 3 zram3
> zramctl: options --algorithm, --find and --streams are mutually exclusive
>
> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
> ---
> sys-utils/zramctl.c | 24 ++++++++++++++++--------
> 1 file changed, 16 insertions(+), 8 deletions(-)
>
> diff --git a/sys-utils/zramctl.c b/sys-utils/zramctl.c
> index afbc0e8..43b7dcb 100644
> --- a/sys-utils/zramctl.c
> +++ b/sys-utils/zramctl.c
> @@ -388,7 +388,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out)
> fputs(_(" --raw use raw status output format\n"), out);
> fputs(_(" -r, --reset reset all specified devices\n"), out);
> fputs(_(" -s, --size <size> device size\n"), out);
> - fputs(_(" -t, --streams <number> number of compressoin streams\n\n"), out);
> + fputs(_(" -t, --streams <number> number of compressoin streams\n"), out);

s/compressoin/compression/

Have a nice day,
Berny