summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Stock <stuart@int08h.com>2019-10-12 18:01:48 -0500
committerStuart Stock <stuart@int08h.com>2019-10-12 18:01:48 -0500
commite97f96cb185fc124c0488b0957682a5c0ba0dba8 (patch)
tree9ad4ec4f1ca9545a2a425c63508d1d29236f1e2c
parent04a3155d0d7ee695a97767dee55cc42ed131a5e7 (diff)
downloadroughenough-e97f96cb185fc124c0488b0957682a5c0ba0dba8.zip
Updates to the client's CLI --help text
-rw-r--r--src/bin/roughenough-client.rs18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/bin/roughenough-client.rs b/src/bin/roughenough-client.rs
index b87adf6..991485c 100644
--- a/src/bin/roughenough-client.rs
+++ b/src/bin/roughenough-client.rs
@@ -216,49 +216,49 @@ fn main() {
.version(roughenough_version().as_ref())
.arg(Arg::with_name("host")
.required(true)
- .help("The Roughtime server to connect to")
+ .help("The Roughtime server to connect to.")
.takes_value(true))
.arg(Arg::with_name("port")
.required(true)
- .help("The Roughtime server port to connect to")
+ .help("The Roughtime server port to connect to.")
.takes_value(true))
.arg(Arg::with_name("verbose")
.short("v")
.long("verbose")
- .help("Print more output"))
+ .help("Output additional details about the server's response."))
.arg(Arg::with_name("json")
.short("j")
.long("json")
- .help("Print output in JSON"))
+ .help("Output the server's response in JSON format."))
.arg(Arg::with_name("public-key")
.short("p")
.long("public-key")
.takes_value(true)
- .help("The server public key used to validate responses. If unset, no validation will be performed"))
+ .help("The server public key used to validate responses. If unset, no validation will be performed."))
.arg(Arg::with_name("time-format")
.short("f")
.long("time-format")
.takes_value(true)
- .help("The strftime format string used to print the time recieved from the server")
+ .help("The strftime format string used to print the time recieved from the server.")
.default_value("%b %d %Y %H:%M:%S")
)
.arg(Arg::with_name("num-requests")
.short("n")
.long("num-requests")
.takes_value(true)
- .help("The number of requests to make to the server (each from a different source port). This is mainly useful for testing batch response handling")
+ .help("The number of requests to make to the server (each from a different source port). This is mainly useful for testing batch response handling.")
.default_value("1")
)
.arg(Arg::with_name("stress")
.short("s")
.long("stress")
- .help("Stress-tests the server by sending the same request as fast as possible. Please only use this on your own server")
+ .help("Stress test the server by sending the same request as fast as possible. Please only use this on your own server.")
)
.arg(Arg::with_name("output")
.short("o")
.long("output")
.takes_value(true)
- .help("Writes all requests to the specified file, in addition to sending them to the server. Useful for generating fuzzer inputs")
+ .help("Writes all requests to the specified file, in addition to sending them to the server. Useful for generating fuzzer inputs.")
)
.get_matches();