summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2024-04-14 13:09:41 +0200
committerDirk Engling <erdgeist@erdgeist.org>2024-04-14 13:09:41 +0200
commitb8ee3dfec11d1c66bee614bfab171ada9fc2bb78 (patch)
tree021bb86b967aba67662288d08b2ecc49d1df92e7
parentfceffdefba11bb924c323af0a1c15eaeb027beca (diff)
Use the HELPLINE macro for help lines
-rw-r--r--opentracker.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/opentracker.c b/opentracker.c
index bcc0703..29c4ac7 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -126,10 +126,10 @@ static void help( char *name ) {
126 HELPLINE("-w file","specify whitelist file."); 126 HELPLINE("-w file","specify whitelist file.");
127#endif 127#endif
128 128
129 fprintf( stderr, "\nExample: ./opentracker -i 127.0.0.1 -p 6969 -P 6969 -f ./opentracker.conf -i 10.1.1.23 -p 2710 -p 80\n" ); 129 HELPLINE("\nExample: ./opentracker -i 127.0.0.1 -p 6969 -P 6969 -f ./opentracker.conf -i 10.1.1.23 -p 2710 -p 80");
130 fprintf( stderr, " Here -i 127.0.0.1 selects the ip address for the next -p 6969 and -P 6969.\n"); 130 HELPLINE(" Here -i 127.0.0.1 selects the ip address for the next -p 6969 and -P 6969.");
131 fprintf( stderr, " If no port is bound from config file or command line, the last address given\n"); 131 HELPLINE(" If no port is bound from config file or command line, the last address given");
132 fprintf( stderr, " (or ::1 if none is set) will be used on port 6969.\n"); 132 HELPLINE(" (or ::1 if none is set) will be used on port 6969.");
133} 133}
134#undef HELPLINE 134#undef HELPLINE
135 135