explains -t, --no-title #182246
This commit is contained in:
parent
cc5c6955be
commit
7775a65c4d
1
NEWS
1
NEWS
@ -1,5 +1,6 @@
|
|||||||
procps-3.1.6 --> procps-3.1.7
|
procps-3.1.6 --> procps-3.1.7
|
||||||
|
|
||||||
|
watch: --help now explains -t, --no-title #182246
|
||||||
ps: warning directs users to the FAQ
|
ps: warning directs users to the FAQ
|
||||||
|
|
||||||
procps-3.1.5 --> procps-3.1.6
|
procps-3.1.5 --> procps-3.1.6
|
||||||
|
18
watch.c
18
watch.c
@ -142,18 +142,12 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
if (option_help) {
|
if (option_help) {
|
||||||
fprintf(stderr, usage, progname);
|
fprintf(stderr, usage, progname);
|
||||||
fputs
|
fputs(" -d, --differences[=cumulative]\thighlight changes between updates\n", stderr);
|
||||||
(" -d, --differences[=cumulative]\thighlight changes between updates\n",
|
fputs("\t\t(cumulative means highlighting is cumulative)\n", stderr);
|
||||||
stderr);
|
fputs(" -h, --help\t\t\t\tprint a summary of the options\n", stderr);
|
||||||
fputs("\t\t(cumulative means highlighting is cumulative)\n",
|
fputs(" -n, --interval=<seconds>\t\tseconds to wait between updates\n", stderr);
|
||||||
stderr);
|
fputs(" -v, --version\t\t\t\tprint the version number\n", stderr);
|
||||||
fputs(" -h, --help\t\t\t\tprint a summary of the options\n",
|
fputs(" -t, --no-title\t\t\tturns off showing the header\n", stderr);
|
||||||
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);
|
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user