pw-top: add missing options to man page and improve --help output

This commit is contained in:
Simon Ruderich 2023-09-04 10:45:55 +02:00 committed by Wim Taymans
parent cacdcc1b62
commit 615f950c2f
2 changed files with 9 additions and 3 deletions

View file

@ -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"