mirror of
https://github.com/ducaale/xh.git
synced 2025-05-05 23:42:50 +00:00
update help doc
This commit is contained in:
parent
1ec0267a18
commit
c4bbdba60e
4
doc/xh.1
4
doc/xh.1
@ -1,4 +1,4 @@
|
|||||||
.TH XH 1 2025-01-22 0.23.1 "User Commands"
|
.TH XH 1 2025-01-23 0.23.1 "User Commands"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
xh \- Friendly and fast tool for sending HTTP requests
|
xh \- Friendly and fast tool for sending HTTP requests
|
||||||
@ -190,6 +190,8 @@ Always stream the response body.
|
|||||||
.TP 4
|
.TP 4
|
||||||
\fB\-x\fR, \fB\-\-compress\fR
|
\fB\-x\fR, \fB\-\-compress\fR
|
||||||
Content compressed (encoded) with Deflate algorithm. The Content\-Encoding header is set to deflate.
|
Content compressed (encoded) with Deflate algorithm. The Content\-Encoding header is set to deflate.
|
||||||
|
|
||||||
|
Compression is skipped if it appears that compression ratio is negative. Compression can be forced by repeating this option.
|
||||||
.TP 4
|
.TP 4
|
||||||
\fB\-o\fR, \fB\-\-output\fR=\fIFILE\fR
|
\fB\-o\fR, \fB\-\-output\fR=\fIFILE\fR
|
||||||
Save output to FILE instead of stdout.
|
Save output to FILE instead of stdout.
|
||||||
|
@ -184,6 +184,9 @@ Example: --print=Hb"
|
|||||||
|
|
||||||
/// Content compressed (encoded) with Deflate algorithm.
|
/// Content compressed (encoded) with Deflate algorithm.
|
||||||
/// The Content-Encoding header is set to deflate.
|
/// The Content-Encoding header is set to deflate.
|
||||||
|
///
|
||||||
|
/// Compression is skipped if it appears that compression ratio is negative.
|
||||||
|
/// Compression can be forced by repeating this option.
|
||||||
#[clap(short = 'x', long = "compress", name = "compress", action = ArgAction::Count)]
|
#[clap(short = 'x', long = "compress", name = "compress", action = ArgAction::Count)]
|
||||||
pub compress: u8,
|
pub compress: u8,
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user