Skip to content

Commit

Permalink
Updates to the client's CLI --help text
Browse files Browse the repository at this point in the history
  • Loading branch information
int08h committed Oct 12, 2019
1 parent 04a3155 commit e97f96c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/bin/roughenough-client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit e97f96c

Please sign in to comment.