pw-top: add missing options to man page and improve --help output
This commit is contained in:
parent
cacdcc1b62
commit
615f950c2f
|
@ -155,11 +155,17 @@ OPTIONS
|
|||
-h | --help
|
||||
Show help.
|
||||
|
||||
-b | --batch-mode
|
||||
Run in non-interactive batch mode, similar to top's batch mode.
|
||||
|
||||
-n | --iterations=NUMBER
|
||||
Exit after NUMBER of batch iterations. Only used in batch mode.
|
||||
|
||||
-r | --remote=NAME
|
||||
The name the *remote* instance to monitor. If left unspecified,
|
||||
a connection is made to the default PipeWire instance.
|
||||
|
||||
--version
|
||||
-V | --version
|
||||
Show version information.
|
||||
|
||||
|
||||
|
|
|
@ -721,8 +721,8 @@ static void show_help(const char *name, bool error)
|
|||
{
|
||||
fprintf(error ? stderr : stdout, "Usage:\n%s [options]\n\n"
|
||||
"Options:\n"
|
||||
" -b, --batch-mode run in non-interactive batch_mode mode\n"
|
||||
" -n, --iterations = NUMBER exit on maximum iterations NUMBER\n"
|
||||
" -b, --batch-mode run in non-interactive batch mode\n"
|
||||
" -n, --iterations = NUMBER exit after NUMBER batch iterations\n"
|
||||
" -r, --remote Remote daemon name\n"
|
||||
"\n"
|
||||
" -h, --help Show this help\n"
|
||||
|
|
Loading…
Reference in New Issue