mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-01-23 10:36:13 +00:00
Removed visible FIXME's in --help output, cleaned up --help printing
git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@51 bc163920-b10d-0410-b2c5-a5491ca2ceef
This commit is contained in:
parent
f1c526f1bc
commit
8f13f1c405
2 changed files with 21 additions and 18 deletions
39
cmdline.c
39
cmdline.c
|
|
@ -46,24 +46,27 @@ cmdline_parser_print_help (void)
|
|||
"Purpose:\n"
|
||||
" Build generic tunnels trough HTTPS proxy's, supports HTTP authorization\n"
|
||||
"\n"
|
||||
"Usage: %s [OPTIONS]...\n\
|
||||
-h --help Print help and exit\n\
|
||||
-V --version Print version and exit\n\
|
||||
-c --config=FILE Read config options from file (FIXME)\n\
|
||||
-i --inetd Run from inetd (default=off)\n\
|
||||
-a INT --standalone=INT Run as standalone daemon on specified port\n\
|
||||
-f --nobackground Don't for to background in standalone mode (FIXME)\n\
|
||||
-u STRING --user=STRING Username to send to HTTPS proxy for auth\n\
|
||||
-s STRING --pass=STRING Password to send to HTTPS proxy for auth\n\
|
||||
-g STRING --proxyhost=STRING HTTPS Proxy host to connect to\n\
|
||||
-G INT --proxyport=INT HTTPS Proxy portnumber to connect to\n\
|
||||
-d STRING --desthost=STRING Destination host to built the tunnel to\n\
|
||||
-D INT --destport=INT Destination portnumber to built the tunnel to\n\
|
||||
-H STRING --header=STRING Add STRING to HTTP headers sent to proxy\n\
|
||||
-n --dottedquad Convert destination hostname to dotted quad\n\
|
||||
-v --verbose Turn on verbosity (default=off)\n\
|
||||
-q --quiet Suppress messages (default=off)\n\
|
||||
", PACKAGE);
|
||||
"Usage: %s [OPTIONS]...\n"
|
||||
" -h --help Print help and exit\n"
|
||||
" -V --version Print version and exit\n"
|
||||
#if 0
|
||||
" -c --config=FILE Read config options from file (FIXME)\n"
|
||||
#endif
|
||||
" -i --inetd Run from inetd (default=off)\n"
|
||||
" -a INT --standalone=INT Run as standalone daemon on specified port\n"
|
||||
#if 0
|
||||
" -f --nobackground Don't for to background in standalone mode (FIXME)\n"
|
||||
#endif
|
||||
" -u STRING --user=STRING Username to send to HTTPS proxy for auth\n"
|
||||
" -s STRING --pass=STRING Password to send to HTTPS proxy for auth\n"
|
||||
" -g STRING --proxyhost=STRING HTTPS Proxy host to connect to\n"
|
||||
" -G INT --proxyport=INT HTTPS Proxy portnumber to connect to\n"
|
||||
" -d STRING --desthost=STRING Destination host to built the tunnel to\n"
|
||||
" -D INT --destport=INT Destination portnumber to built the tunnel to\n"
|
||||
" -H STRING --header=STRING Add STRING to HTTP headers sent to proxy\n"
|
||||
" -n --dottedquad Convert destination hostname to dotted quad\n"
|
||||
" -v --verbose Turn on verbosity (default=off)\n"
|
||||
" -q --quiet Suppress messages (default=off)\n", PACKAGE);
|
||||
|
||||
printf( "\nExamples:\n"
|
||||
"%s [ -h | -V ]\n"
|
||||
|
|
|
|||
BIN
proxytunnel
BIN
proxytunnel
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue