mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Fixes build failures, a CVE, and some other bugs. Closes: https://trac.macports.org/ticket/63767
23 lines
670 B
Diff
23 lines
670 B
Diff
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 @@
|
|
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 );
|
|
}
|