choom: improve docs

It's not obvious from the current docs that you have to explicitly
split command line options and wanted commands.

Addresses: https://github.com/karelzak/util-linux/issues/833
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2019-08-01 11:06:06 +02:00
parent c4d6d1c54d
commit 0c493067dd
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ choom \- display and adjust OOM-killer score.
.B choom
.B \-n
.I number
.B [\-\-]
.IR command\ [ argument ...]
.SH DESCRIPTION

View File

@ -37,7 +37,7 @@ static void __attribute__((__noreturn__)) usage(void)
fprintf(out,
_(" %1$s [options] -p pid\n"
" %1$s [options] -n number -p pid\n"
" %1$s [options] -n number command [args...]]\n"),
" %1$s [options] -n number [--] command [args...]]\n"),
program_invocation_short_name);
fputs(USAGE_SEPARATOR, out);