File: 02_adding_option.patch

package info (click to toggle)
colortail 0.3.3-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, jessie, jessie-kfreebsd, sid, squeeze, stretch, trixie, wheezy
  • size: 596 kB
  • ctags: 169
  • sloc: cpp: 1,547; sh: 705; makefile: 27
file content (13 lines) | stat: -rw-r--r-- 786 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Patch to show the option -l to display  without colors.
Index: colortail-0.3.2/Usage.cc
===================================================================
--- colortail-0.3.2.orig/Usage.cc	2010-01-02 13:22:27.000000000 -0500
+++ colortail-0.3.2/Usage.cc	2010-01-02 13:24:43.000000000 -0500
@@ -46,6 +46,7 @@
    cout << "\t\t\t\tIf only one config file it's global otherwise" << endl;
    cout << "\t\t\t\tone config file for each tail file" << endl;
    cout << "  -n, --lines=N\t\t\toutput the last N lines, instead of last 10" << endl;
+   cout << "  -l \t\t\t\tdisplay without colors" << endl;
    cout << "  -q, --quiet, --silent\t\tnever output headers giving file names" << endl;
    cout << "  -v, --version\t\t\toutput version information and exit" << endl;
    cout << endl;