a first cut at a print_usage()

svn:r2887
This commit is contained in:
Roger Dingledine 2004-11-15 07:29:27 +00:00
parent c909a8a64b
commit 72dd656b88

View File

@ -818,21 +818,10 @@ add_default_trusted_dirservers(or_options_t *options)
static void static void
print_usage(void) print_usage(void)
{ {
printf("tor -f <torrc> [args]\n" printf(
"See man page for more options. This -h is obsolete.\n"); "Copyright 2001-2004 Roger Dingledine, Nick Mathewson, Matej Pfajfar.\n\n"
#if 0 "tor -f <torrc> [args]\n"
"-b <bandwidth>\t\tbytes/second rate limiting\n" "See man page for options, or http://freehaven.net/tor/ for documentation.\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
} }
/** /**