mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
- Remove leading article from COMMENT - Add LICENSE - Support staging - Reformat pkg-descr PR: ports/181061 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
74 lines
4.2 KiB
C
74 lines
4.2 KiB
C
--- usage.c.orig Wed Dec 20 00:26:47 2000
|
|
+++ usage.c Mon Jul 7 04:43:54 2003
|
|
@@ -29,31 +29,31 @@
|
|
" OPTIONS\n"
|
|
" ===================================\n"
|
|
" Main mode of operation:\n"
|
|
- " -command=<command> Define request command. Default is 'GET'.\n"
|
|
- " -post=<form data> POST form data. When used, command is\n"
|
|
+ " --command=<command> Define request command. Default is 'GET'.\n"
|
|
+ " --post=<form data> POST form data. When used, command is\n"
|
|
" overriden to 'POST'\n"
|
|
"\n"
|
|
" Miscellaneous:\n"
|
|
- " -debug[=<level>] Debug mode, specify level\n"
|
|
- " -file[=<file>] Dump data to file. (default: overwrite)\n"
|
|
+ " --debug[=<level>] Debug mode, specify level\n"
|
|
+ " --file[=<file>] Dump data to file. (default: overwrite)\n"
|
|
" When omitted, output goes to stdout.\n"
|
|
" When no filename given, the filename is\n"
|
|
" extracted from the URL given.\n"
|
|
- " -resume When writing to file, resume instead of\n"
|
|
+ " --resume When writing to file, resume instead of\n"
|
|
" overwrite.\n"
|
|
- " -jar=file Give a cookie jar file and htdump will\n"
|
|
+ " --jar=file Give a cookie jar file and htdump will\n"
|
|
" manage all cookies on it's own.\n"
|
|
"\n"
|
|
" Header adjustment:\n"
|
|
- " -accept=<Accept> Add 'Accept:' header\n"
|
|
- " -cookie=<Cookie> Add 'Cookie:' header\n"
|
|
- " -from=<From> Add 'From:' header\n"
|
|
- " -host=<Host> Add 'Host:' header (*)\n"
|
|
- " -referer=<Referer> Add 'Referer:' header\n"
|
|
- " -range=<Range string> Add 'Range:' header (*)\n"
|
|
- " -agent=<Agent string> Add 'User-Agent:' header\n"
|
|
- " -version=<0|1|r> Select HTTP version. Default is HTTP/1.1\n"
|
|
- " -extra=<extra header> Add your own custom headers\n"
|
|
+ " --accept=<Accept> Add 'Accept:' header\n"
|
|
+ " --cookie=<Cookie> Add 'Cookie:' header\n"
|
|
+ " --from=<From> Add 'From:' header\n"
|
|
+ " --host=<Host> Add 'Host:' header (*)\n"
|
|
+ " --referer=<Referer> Add 'Referer:' header\n"
|
|
+ " --range=<Range string> Add 'Range:' header (*)\n"
|
|
+ " --agent=<Agent string> Add 'User-Agent:' header\n"
|
|
+ " --version=<0|1|r> Select HTTP version. Default is HTTP/1.1\n"
|
|
+ " --extra=<extra header> Add your own custom headers\n"
|
|
"\n"
|
|
" (*) = HTTP/1.1 only\n"
|
|
"\n"
|
|
@@ -62,15 +62,15 @@
|
|
" ===================================\n"
|
|
" htdump www.netscape.com\n"
|
|
" htdump https://flemming:secret@www.jamesbond.com/members/secret.html\n"
|
|
- " htdump -host=\"www.vhost1.com\" http://127.0.0.1/\n"
|
|
- " htdump -referer=\"www.fbi.gov\" http://www.arpa.mil/secret.zip\n"
|
|
- " htdump -version=r -agent=\"Crazy www browser 1.6\" http://bouncy.com/\n"
|
|
- " htdump -command=\"OPTIONS\" http://arak.cs.hro.nl/ -debug\n"
|
|
- " htdump -file -resume download.com/this.zip &\n"
|
|
- " htdump http://download.com/big.zip -range=\"644221-\" >> big.zip &\n"
|
|
- " htdump -post=\"name=Ren&op1=yes\" here.com/cgi-bin/prog\n"
|
|
- " htdump -cookie=\"chocolate\" -cookie=\"brownie\" cookies.com\n"
|
|
- " htdump -extra=\"ProxyVersion: SeaCreature/5.0\" www.mutated-seabass.com\n"
|
|
+ " htdump --host=\"www.vhost1.com\" http://127.0.0.1/\n"
|
|
+ " htdump --referer=\"www.fbi.gov\" http://www.arpa.mil/secret.zip\n"
|
|
+ " htdump --version=r -agent=\"Crazy www browser 1.6\" http://bouncy.com/\n"
|
|
+ " htdump --command=\"OPTIONS\" http://arak.cs.hro.nl/ -debug\n"
|
|
+ " htdump --file -resume download.com/this.zip &\n"
|
|
+ " htdump http://download.com/big.zip --range=\"644221-\" >> big.zip &\n"
|
|
+ " htdump --post=\"name=Ren&op1=yes\" here.com/cgi-bin/prog\n"
|
|
+ " htdump --cookie=\"chocolate\" -cookie=\"brownie\" cookies.com\n"
|
|
+ " htdump --extra=\"ProxyVersion: SeaCreature/5.0\" www.mutated-seabass.com\n"
|
|
"\n"
|
|
"\n"
|
|
" htdump "VERSION"\n"
|