From 7c40da3f5e15d52183500e1b48aab79415ecea7a Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 11 Jan 2021 09:48:43 +0100 Subject: Add --with-pkg flag for "db submits" command Signed-off-by: Matthias Beyer --- src/cli.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/cli.rs') 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") -- cgit v1.2.3