diff --git a/NEWS b/NEWS index 0a33583e..9c5b2a62 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ procps-3.1.6 --> procps-3.1.7 +watch: --help now explains -t, --no-title #182246 ps: warning directs users to the FAQ procps-3.1.5 --> procps-3.1.6 diff --git a/watch.c b/watch.c index 91b60ed9..a55514f5 100644 --- a/watch.c +++ b/watch.c @@ -142,18 +142,12 @@ main(int argc, char *argv[]) if (option_help) { fprintf(stderr, usage, progname); - fputs - (" -d, --differences[=cumulative]\thighlight changes between updates\n", - stderr); - fputs("\t\t(cumulative means highlighting is cumulative)\n", - stderr); - fputs(" -h, --help\t\t\t\tprint a summary of the options\n", - stderr); - fputs - (" -n, --interval=\t\tseconds to wait between updates\n", - stderr); - fputs(" -v, --version\t\t\t\tprint the version number\n", - stderr); + fputs(" -d, --differences[=cumulative]\thighlight changes between updates\n", stderr); + fputs("\t\t(cumulative means highlighting is cumulative)\n", stderr); + fputs(" -h, --help\t\t\t\tprint a summary of the options\n", stderr); + fputs(" -n, --interval=\t\tseconds to wait between updates\n", stderr); + fputs(" -v, --version\t\t\t\tprint the version number\n", stderr); + fputs(" -t, --no-title\t\t\tturns off showing the header\n", stderr); exit(0); }