summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-09-08 13:29:32 +0200
committerMatthias Beyer <matthias.beyer@atos.net>2021-09-09 08:35:20 +0200
commit800ec41fadf58762ec30d864622806087cadc09c (patch)
treedbc7e93058a45f32b3a8e48fcecbb9dcab39074e /src/cli.rs
parent910af91c2eb5d58b9fdf0317ba086c4ed687d690 (diff)
Add --image flag to "db submits" command for filtering for a specific image
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net> Tested-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 37df36c..5c4b399 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -255,6 +255,14 @@ pub fn cli<'a>() -> App<'a> {
.value_name("HASH")
.about("Limit listed submits to one commit hash")
)
+ .arg(Arg::new("image")
+ .required(false)
+ .multiple(false)
+ .long("image")
+ .takes_value(true)
+ .value_name("IMAGE")
+ .about("Limit listed submits to submits on IMAGE")
+ )
)
.subcommand(App::new("jobs")