[or-cvs] a first cut at a print_usage()
Roger Dingledine
arma at seul.org
Mon Nov 15 07:29:29 UTC 2004
Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or
Modified Files:
config.c
Log Message:
a first cut at a print_usage()
Index: config.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.255
retrieving revision 1.256
diff -u -d -r1.255 -r1.256
--- config.c 15 Nov 2004 04:01:31 -0000 1.255
+++ config.c 15 Nov 2004 07:29:27 -0000 1.256
@@ -818,21 +818,10 @@
static void
print_usage(void)
{
- printf("tor -f <torrc> [args]\n"
- "See man page for more options. This -h is obsolete.\n");
-#if 0
- "-b <bandwidth>\t\tbytes/second rate limiting\n"
- "-d <file>\t\tDebug file\n"
- "-l <level>\t\tLog level\n"
- "-r <file>\t\tList of known routers\n");
- printf("\nClient options:\n"
- "-e \"nick1 nick2 ...\"\t\tExit nodes\n"
- "-s <IP>\t\t\tPort to bind to for Socks\n");
- printf("\nServer options:\n"
- "-n <nick>\t\tNickname of router\n"
- "-o <port>\t\tOR port to bind to\n"
- "-p <file>\t\tPID file\n");
-#endif
+ printf(
+"Copyright 2001-2004 Roger Dingledine, Nick Mathewson, Matej Pfajfar.\n\n"
+"tor -f <torrc> [args]\n"
+"See man page for options, or http://freehaven.net/tor/ for documentation.\n");
}
/**
More information about the tor-commits
mailing list