From bca01f4cde9b0dbb95df51c75c1751996342608b Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Mon, 6 Oct 2008 03:42:51 +0000 Subject: document the new config file feature. --- opentracker.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'opentracker.c') 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 ) { static void help( char *name ) { usage( name ); + HELPLINE("-f config","include and execute the config file"); HELPLINE("-i ip","specify ip to bind to (default: *, you may specify more than one)"); HELPLINE("-p port","specify tcp port to bind to (default: 6969, you may specify more than one)"); 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 ) { HELPLINE("-w file","specify whitelist file."); #endif - fprintf( stderr, "\nExample: ./opentracker -i 127.0.0.1 -p 6969 -P 6969 -i 10.1.1.23 -p 2710 -p 80\n" ); + 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" ); } #undef HELPLINE -- cgit v1.2.3