Fix help formatting

This commit is contained in:
Tim Visée
2017-12-31 21:23:08 +01:00
parent ce8eba3c7a
commit c23b2f611b
2 changed files with 3 additions and 3 deletions

View File

@@ -91,8 +91,8 @@ FLAGS:
OPTIONS: OPTIONS:
-i, --image <PATH>... Image paths -i, --image <PATH>... Image paths
-w, --width <PIXELS> Draw width (def: 1920) -w, --width <PIXELS> Draw width (def: screen width)
-h, --height <PIXELS> Draw height (def: 1080) -h, --height <PIXELS> Draw height (def: screen height)
-x, --x <PIXELS> Draw X offset (def: 0) -x, --x <PIXELS> Draw X offset (def: 0)
-y, --y <PIXELS> Draw Y offset (def: 0) -y, --y <PIXELS> Draw Y offset (def: 0)
-c, --count <COUNT> Number of concurrent threads (def: 4) -c, --count <COUNT> Number of concurrent threads (def: 4)

View File

@@ -52,7 +52,7 @@ impl<'a: 'b, 'b> ArgHandler<'a> {
.short("x") .short("x")
.long("x") .long("x")
.value_name("PIXELS") .value_name("PIXELS")
.help("Draw X offset(def: 0)") .help("Draw X offset (def: 0)")
.display_order(4) .display_order(4)
.takes_value(true)) .takes_value(true))
.arg(Arg::with_name("y") .arg(Arg::with_name("y")