]> granicus.if.org Git - procps-ng/commitdiff
explains -t, --no-title #182246
authoralbert <>
Mon, 24 Feb 2003 06:05:34 +0000 (06:05 +0000)
committeralbert <>
Mon, 24 Feb 2003 06:05:34 +0000 (06:05 +0000)
NEWS
watch.c

diff --git a/NEWS b/NEWS
index 0a33583e0233736e2151ec8b5399d8d360d9f1c8..9c5b2a62c1fdb40bd0f52e9c04a08edb0ee15cad 100644 (file)
--- 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 91b60ed95359ae431a28a0f38a1e778c353c18b2..a55514f508b9d55fd40e250d60ec8867ed9e7112 100644 (file)
--- 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=<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);
        }