From 20083d9fca397b08e5c02e787720e453ca1a6b8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Vis=C3=A9e?= Date: Fri, 29 Dec 2017 23:33:07 +0100 Subject: [PATCH] Describe defaults in help --- src/main.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index dfa9260..4bcdeef 100644 --- a/src/main.rs +++ b/src/main.rs @@ -49,7 +49,7 @@ fn main() { .short("c") .long("count") .value_name("COUNT") - .help("Number of simultanious threads") + .help("Number of simultanious threads (def: 4)") .takes_value(true)) .arg(Arg::with_name("image") .short("i") @@ -62,25 +62,25 @@ fn main() { .short("w") .long("width") .value_name("PIXELS") - .help("Drawing width in pixels") + .help("Drawing width in pixels (def: 1920)") .takes_value(true)) .arg(Arg::with_name("height") .short("h") .long("height") .value_name("PIXELS") - .help("Drawing height in pixels") + .help("Drawing height in pixels (def: 1080)") .takes_value(true)) .arg(Arg::with_name("x") .short("x") .long("x") .value_name("PIXELS") - .help("Drawing X offset in pixels") + .help("Drawing X offset in pixels (def: 0)") .takes_value(true)) .arg(Arg::with_name("y") .short("y") .long("y") .value_name("PIXELS") - .help("Drawing Y offset in pixels") + .help("Drawing Y offset in pixels (def: 0)") .takes_value(true)) .get_matches();