diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-01-11 09:48:43 +0100 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-01-14 13:29:40 +0100 |
commit | 7c40da3f5e15d52183500e1b48aab79415ecea7a (patch) | |
tree | 4a8be40a045f7acaa86f4834c226223da7935e3f /src/cli.rs | |
parent | b6a52fd28003ed3ce251a3647e837ca11b9d1222 (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.rs | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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") |