diff --git a/README.md b/README.md
index f8573bd..09753e8 100644
--- a/README.md
+++ b/README.md
@@ -130,7 +130,7 @@ USAGE:
x8 [FLAGS] [OPTIONS]
FLAGS:
- --as-body Send parameters via body.
+ --as-body Send parameters via body.
Built in body types that can be detected automatically: json, urlencode
--disable-cachebuster
--disable-colors
@@ -144,16 +144,16 @@ FLAGS:
variables' error messages
-h, --help Prints help information
--headers Switch to header discovery mode.
- Forbidden chars would be automatically removed from headers' names
+ Forbidden chars would be automatically removed from headers names
--http2 Prefer http/2 over http/1.1
--is-json If the output is valid json and the content type does not contain 'json'
keyword - specify this argument for a more accurate search
--keep-newlines --body 'a\r\nb' -> --body 'a{{new_line}}b'.
- Works with body and parameter templates only
- --replay-once If replay proxy is specified, send all found parameters within one request
+ Works with body and parameter templates only.
+ --replay-once If replay proxy is specified, send all found parameters within one request.
--test Prints request and response
-V, --version Prints version information
- --verify Verify found parameters one more time
+ --verify Verify found parameters one more time.
OPTIONS:
-b, --body
Example: --body '{"x":{%s}}'
@@ -182,14 +182,14 @@ OPTIONS:
-P, --param-template
%k - key, %v - value. Example: --param-template 'user[%k]=%v&'
- --proto Uses when the request file is present. (default is "https")
+ --proto Protocol to use with request file (default is "https")
-x, --proxy
--replay-proxy
- Request target with every found parameter via replay proxy at the end
+ Request target with every found parameter via replay proxy at the end.
- -r, --request The file with raw http request
+ -r, --request The file with the raw http request
--save-responses Save matched responses to a directory
- -u, --url You can add a custom injection point with %s
+ -u, --url You can add a custom injection point with %s.
--value-size
Custom value size. Affects {{random}} variables as well (default is 5)
diff --git a/src/args.rs b/src/args.rs
index cfd898d..93f0cdc 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -13,20 +13,20 @@ pub fn get_config() -> (Config, usize) {
.arg(Arg::with_name("url")
.short("u")
.long("url")
- .help("You can add a custom injection point with %s")
+ .help("You can add a custom injection point with %s.")
.takes_value(true)
.conflicts_with("request")
)
.arg(Arg::with_name("request")
.short("r")
.long("request")
- .help("The file with raw http request")
+ .help("The file with the raw http request")
.takes_value(true)
.conflicts_with("url")
)
.arg(Arg::with_name("proto")
.long("proto")
- .help("Uses when the request file is present. (default is \"https\")")
+ .help("Protocol to use with request file (default is \"https\")")
.takes_value(true)
.requires("request")
.conflicts_with("url")
@@ -111,7 +111,7 @@ pub fn get_config() -> (Config, usize) {
.arg(
Arg::with_name("headers-discovery")
.long("headers")
- .help("Switch to header discovery mode.\nForbidden chars would be automatically removed from headers' names")
+ .help("Switch to header discovery mode.\nForbidden chars would be automatically removed from headers names")
.conflicts_with("as-body")
.conflicts_with("param-template")
)
@@ -142,19 +142,19 @@ pub fn get_config() -> (Config, usize) {
.arg(
Arg::with_name("keep-newlines")
.long("keep-newlines")
- .help("--body 'a\\r\\nb' -> --body 'a{{new_line}}b'.\nWorks with body and parameter templates only")
+ .help("--body 'a\\r\\nb' -> --body 'a{{new_line}}b'.\nWorks with body and parameter templates only.")
)
.arg(
Arg::with_name("replay-once")
.long("replay-once")
- .help("If replay proxy is specified, send all found parameters within one request")
+ .help("If replay proxy is specified, send all found parameters within one request.")
.requires("replay-proxy")
)
.arg(
Arg::with_name("replay-proxy")
.takes_value(true)
.long("replay-proxy")
- .help("Request target with every found parameter via replay proxy at the end")
+ .help("Request target with every found parameter via replay proxy at the end.")
)
.arg(
Arg::with_name("custom-parameters")
@@ -244,7 +244,7 @@ pub fn get_config() -> (Config, usize) {
.arg(
Arg::with_name("verify")
.long("verify")
- .help("Verify found parameters one more time")
+ .help("Verify found parameters one more time.")
);
let args = app.clone().get_matches();