summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-11-06 10:41:40 +0100
committerMatthias Beyer <mail@beyermatthias.de>2020-11-06 11:09:07 +0100
commit9aab4879a8b03445dae40ed64a780958bacb28ad (patch)
tree378e2a7b6bf2f63630b489b59aade40aa1b8b230 /src/cli.rs
parentea703e04c16408d3e854711d56411975f940d08d (diff)
Fix: --image parameter takes value
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index f9060b3..b021ccf 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -82,6 +82,8 @@ pub fn cli<'a>() -> App<'a> {
.arg(Arg::with_name("image")
.required(true)
.multiple(false)
+ .takes_value(true)
+ .value_name("IMAGE NAME")
.short('I')
.long("image")
.help("Name of the docker image to use")