diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-15 07:29:27 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-15 07:29:27 +0000 |
commit | 72dd656b885d6072985ab628a3e4d09755f9819a (patch) | |
tree | e67818a4c855188499dfb71d4fa23ee6e3f5381d /src/or | |
parent | c909a8a64bd0db432012f96b1c04fcbcc632693a (diff) | |
download | tor-72dd656b885d6072985ab628a3e4d09755f9819a.tar.gz tor-72dd656b885d6072985ab628a3e4d09755f9819a.zip |
a first cut at a print_usage()
svn:r2887
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/config.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/src/or/config.c b/src/or/config.c index 22dc29ed76..5961acd101 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -818,21 +818,10 @@ add_default_trusted_dirservers(or_options_t *options) 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"); } /** |