mirror of
				git://erdgeist.org/opentracker
				synced 2025-11-04 03:43:23 +08:00 
			
		
		
		
	document the new config file feature.
This commit is contained in:
		
							parent
							
								
									206c74ee2f
								
							
						
					
					
						commit
						bca01f4cde
					
				@ -80,6 +80,7 @@ static void usage( char *name ) {
 | 
				
			|||||||
static void help( char *name ) {
 | 
					static void help( char *name ) {
 | 
				
			||||||
  usage( 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("-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 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)");
 | 
					  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.");
 | 
					  HELPLINE("-w file","specify whitelist file.");
 | 
				
			||||||
#endif
 | 
					#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
 | 
					#undef HELPLINE
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user