mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
pw-top: add missing options to man page and improve --help output
This commit is contained in:
parent
cacdcc1b62
commit
615f950c2f
2 changed files with 9 additions and 3 deletions
|
|
@ -155,11 +155,17 @@ OPTIONS
|
||||||
-h | --help
|
-h | --help
|
||||||
Show 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
|
-r | --remote=NAME
|
||||||
The name the *remote* instance to monitor. If left unspecified,
|
The name the *remote* instance to monitor. If left unspecified,
|
||||||
a connection is made to the default PipeWire instance.
|
a connection is made to the default PipeWire instance.
|
||||||
|
|
||||||
--version
|
-V | --version
|
||||||
Show version information.
|
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"
|
fprintf(error ? stderr : stdout, "Usage:\n%s [options]\n\n"
|
||||||
"Options:\n"
|
"Options:\n"
|
||||||
" -b, --batch-mode run in non-interactive batch_mode mode\n"
|
" -b, --batch-mode run in non-interactive batch mode\n"
|
||||||
" -n, --iterations = NUMBER exit on maximum iterations NUMBER\n"
|
" -n, --iterations = NUMBER exit after NUMBER batch iterations\n"
|
||||||
" -r, --remote Remote daemon name\n"
|
" -r, --remote Remote daemon name\n"
|
||||||
"\n"
|
"\n"
|
||||||
" -h, --help Show this help\n"
|
" -h, --help Show this help\n"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue