explains -t, --no-title #182246

This commit is contained in:
albert 2003-02-24 06:05:34 +00:00
parent cc5c6955be
commit 7775a65c4d
2 changed files with 7 additions and 12 deletions

1
NEWS
View File

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

18
watch.c
View File

@ -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=<seconds>\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=<seconds>\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);
}