summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authorerdgeist <>2008-10-06 03:42:51 +0000
committererdgeist <>2008-10-06 03:42:51 +0000
commitbca01f4cde9b0dbb95df51c75c1751996342608b (patch)
tree7c6ee56d2b349f7659b5ae868381417d14b5ed55 /opentracker.c
parent206c74ee2fec762787187b9af0b836787472a364 (diff)
document the new config file feature.
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c
index 8ed73f3..4129f08 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -80,6 +80,7 @@ static void usage( char *name ) {
80static void help( char *name ) { 80static void help( char *name ) {
81 usage( name ); 81 usage( name );
82 82
83 HELPLINE("-f config","include and execute the config file");
83 HELPLINE("-i ip","specify ip to bind to (default: *, you may specify more than one)"); 84 HELPLINE("-i ip","specify ip to bind to (default: *, you may specify more than one)");
84 HELPLINE("-p port","specify tcp port to bind to (default: 6969, you may specify more than one)"); 85 HELPLINE("-p port","specify tcp port to bind to (default: 6969, you may specify more than one)");
85 HELPLINE("-P port","specify udp port to bind to (default: 6969, you may specify more than one)"); 86 HELPLINE("-P port","specify udp port to bind to (default: 6969, you may specify more than one)");
@@ -92,7 +93,7 @@ static void help( char *name ) {
92 HELPLINE("-w file","specify whitelist file."); 93 HELPLINE("-w file","specify whitelist file.");
93#endif 94#endif
94 95
95 fprintf( stderr, "\nExample: ./opentracker -i 127.0.0.1 -p 6969 -P 6969 -i 10.1.1.23 -p 2710 -p 80\n" ); 96 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" );
96} 97}
97#undef HELPLINE 98#undef HELPLINE
98 99