diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-09-08 13:29:32 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-09-09 08:35:20 +0200 |
commit | 800ec41fadf58762ec30d864622806087cadc09c (patch) | |
tree | dbc7e93058a45f32b3a8e48fcecbb9dcab39074e /src/cli.rs | |
parent | 910af91c2eb5d58b9fdf0317ba086c4ed687d690 (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.rs | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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") |