]>
Commit | Line | Data |
---|---|---|
bf3d5243 JB |
1 | --- mget-1.4.1/mget.c.orig 2002-02-13 06:28:05.000000000 +0100 |
2 | +++ mget-1.4.1/mget.c 2004-04-01 22:05:16.835294352 +0200 | |
3 | @@ -41,36 +41,36 @@ | |
4 | void print_usage(void){ | |
5 | fprintf( \ | |
6 | stderr, | |
7 | - "Usage: mget %s | |
8 | - [-n number_segments{1}] | |
9 | + "Usage: mget %s\n\ | |
10 | + [-n number_segments{1}]\n\ | |
11 | -f file_name\n" | |
12 | #ifdef HAVE_GETOPT_LONG | |
13 | -" [--use_ftp_proxy[=<ftp_proxy_name:ftp_proxy_port{80}>]] | |
14 | +" [--use_ftp_proxy[=<ftp_proxy_name:ftp_proxy_port{80}>]]\n\ | |
15 | [--use_http_proxy[=<http_proxy_name:http_proxy_port{80}>]]\n" | |
16 | #elif HAVE_GETOPT_GETOPT_H | |
17 | -" [--use_ftp_proxy[=<ftp_proxy_name:ftp_proxy_port{80}>]] | |
18 | +" [--use_ftp_proxy[=<ftp_proxy_name:ftp_proxy_port{80}>]]\n\ | |
19 | [--use_http_proxy[=<http_proxy_name:http_proxy_port{80}>]]\n" | |
20 | #endif | |
21 | -" [-F<ftp_proxy_name:ftp_proxy_port{80}>] | |
22 | - [-x<ftp_proxy_name:ftp_proxy_port{80}>] | |
23 | - [-H<http_proxy_name:http_proxy_port{80}>] | |
24 | - [-h<http_proxy_name:http_proxy_port{80}>] | |
25 | - [-p port{80}] | |
26 | - [-O Output_file_name] | |
27 | +" [-F<ftp_proxy_name:ftp_proxy_port{80}>]\n\ | |
28 | + [-x<ftp_proxy_name:ftp_proxy_port{80}>]\n\ | |
29 | + [-H<http_proxy_name:http_proxy_port{80}>]\n\ | |
30 | + [-h<http_proxy_name:http_proxy_port{80}>]\n\ | |
31 | + [-p port{80}]\n\ | |
32 | + [-O Output_file_name]\n\ | |
33 | [-C]\n" | |
34 | #ifdef TRY_SIGNAL | |
35 | " [-l {log_file}]\n" | |
36 | #endif | |
37 | -" [-t timeout_seconds{60}] | |
38 | - [-R referrer] | |
39 | - [-r rollback{0} bytes] | |
40 | - [-v] | |
41 | - [-V] | |
42 | -------------------------------------------------------------------------- | |
43 | -proxy option can be given as -H(F) proxyhost:proxyport or | |
44 | -as --use_http(or ftp)_proxy=proxyhost:proxyport. If port is not given, | |
45 | -port is assumed to be 80. [Works differently in Solaris, refer manpage]. | |
46 | - On some machines getopt doesnot allow '-H <proxy_name>' i.e. the space is not allowed between H and hostname. | |
47 | +" [-t timeout_seconds{60}]\n\ | |
48 | + [-R referrer]\n\ | |
49 | + [-r rollback{0} bytes]\n\ | |
50 | + [-v]\n\ | |
51 | + [-V]\n\ | |
52 | +-------------------------------------------------------------------------\n\ | |
53 | +proxy option can be given as -H(F) proxyhost:proxyport or\n\ | |
54 | +as --use_http(or ftp)_proxy=proxyhost:proxyport. If port is not given,\n\ | |
55 | +port is assumed to be 80. [Works differently in Solaris, refer manpage].\n\ | |
56 | + On some machines getopt doesnot allow '-H <proxy_name>' i.e. the space is not allowed between H and hostname.\n\ | |
57 | \n", VERSION); | |
58 | exit(1); | |
59 | } | |
60 | @@ -308,8 +308,7 @@ | |
61 | if(PROTO_HTTP==FALSE) | |
62 | port=21; | |
63 | ||
64 | - VERBOSEPRINT(fprintf(outfile," | |
65 | - %sDocument %s requested from %s,with address %s in %d segments,\n,proxy:%s:%d\n%s", | |
66 | + VERBOSEPRINT(fprintf(outfile,"%sDocument %s requested from %s,with address %s in %d segments,\n,proxy:%s:%d\n%s", | |
67 | sep,save_file_name,host_name,file_name,num_segment,proxy,proxy_port,sep)) | |
68 | } | |
69 |