summarylogtreecommitdiffstats
path: root/fix-man-invocation.patch
blob: 411cfd89790fac980dc06ec08783850293ba41b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Fix man invocation
 Upon startup, tcpick says:
 .
 important: `man 1 tcpick' explains all options available
 .
 but the man page is in section 8, not 1. This patch fixes that.
Bug-Debian: http://bugs.debian.org/265067
Origin: vendor
Author: C├ędric Delfosse <cedric@debian.org>
Last-Update: 2004-08-18

--- a/src/args.c
+++ b/src/args.c
@@ -386,7 +386,7 @@ parse_args(int argc, char ** argv)
 	if(flags.versionandquit) {
 		color( c_USAGE, stdout, PACKAGE_STRING "\n"
 			     " Author: " AUTHOR "\n"
-			     " for other info try `man 1 tcpick', or `%s --help'\n\n"
+			     " for other info try `man tcpick', or `%s --help'\n\n"
 			     TERMS ,TCPICK_NAME);
 		exit( TCPICK_SUCCESS );
 	}