summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-01-11 09:48:43 +0100
committerMatthias Beyer <matthias.beyer@atos.net>2021-01-14 13:29:40 +0100
commit7c40da3f5e15d52183500e1b48aab79415ecea7a (patch)
tree4a8be40a045f7acaa86f4834c226223da7935e3f /src/cli.rs
parentb6a52fd28003ed3ce251a3647e837ca11b9d1222 (diff)
Add --with-pkg flag for "db submits" command
Signed-off-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 c58ba1a..a202b29 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -155,6 +155,14 @@ pub fn cli<'a>() -> App<'a> {
.takes_value(false)
.about("Format output as CSV")
)
+ .arg(Arg::new("with_pkg")
+ .required(false)
+ .multiple(false)
+ .long("with-pkg")
+ .takes_value(true)
+ .value_name("PKG")
+ .about("Only list submits that contained package PKG")
+ )
)
.subcommand(App::new("jobs")