File: 0002-Fix-up-some-help-text.patch

package info (click to toggle)
jnettop 0.13.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,072 kB
  • sloc: ansic: 4,012; sh: 775; makefile: 15
file content (53 lines) | stat: -rw-r--r-- 2,084 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
From: Ari Pollak <aripollak@gmail.com>
Date: Mon, 4 Oct 2010 22:07:03 -0400
Subject: [PATCH] Fix up some help text

---
 jnettop.8 |    4 ----
 jnettop.c |    3 +--
 2 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/jnettop.8 b/jnettop.8
index 300b233..14af8ea 100644
--- a/jnettop.8
+++ b/jnettop.8
@@ -40,9 +40,6 @@ Show summary of options.
 .B \-v, \-\-version
 Show version of program.
 .TP
-.B \-b, \-\-bit-units
-show BPS In bits per second, not bytes per second
-.TP
 .B \-c, \-\-content-filter
 disable content filtering
 .TP
@@ -51,7 +48,6 @@ write debug information into file
 .TP
 .B \-f, \-\-config-file filename
 reads configuration from filename. defaults to ~/.jnettop. an example can be found at /usr/share/doc/jnettop/dot.jnettop.
-or in .jnettop file from original distribution package.
 .TP
 .B \-i, \-\-interface name
 capture packets on specified interface
diff --git a/jnettop.c b/jnettop.c
index 7053532..1ed45a8 100644
--- a/jnettop.c
+++ b/jnettop.c
@@ -84,7 +84,6 @@ void parseCommandLineAndConfig(int argc, char ** argv) {
 				"\n"
 				"    -h, --help             display this help message\n"
 				"    -v, --version          display version information\n\n"
-				"    -b, --bit-units        show BPS in bits per second, not bytes per second\n"
 				"    -c, --content-filter   disable content filtering\n"
 				"    -d, --debug filename   write debug information into file (or syslog)\n"
 				"    --display type         type of display (curses, text, uia)\n"
@@ -100,7 +99,7 @@ void parseCommandLineAndConfig(int argc, char ** argv) {
 				"    -t, --timeout sec      timeout in seconds after which jnettop ends (text display)\n"
 				"    -x, --filter rule      allows for specification of custom filtering rule\n"
 				"                           this follows tcpdump(1) syntax. don't forget to\n"
-				"                           enclose the filter into quotes when running from shell\n"
+				"                           enclose the filter in quotes when running from shell\n"
 				"\n"
 				"Report bugs to <j@kubs.cz>\n"
 				"\n"
--