diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-04-22 09:33:09 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-04-22 10:16:30 +0200 |
commit | 0f231979ce6d35e3e9ec4773904cf763a1d9aac4 (patch) | |
tree | d9ce8528feab69cc0388c7fffea5097dac45c838 /src/cli.rs | |
parent | e342a2b39edeca20519a1d28dbba394ad5da6a10 (diff) |
Add --limit arg
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
@@ -180,6 +180,14 @@ pub fn cli<'a>() -> App<'a> { .about("Only list submits that had the root package PKG") .conflicts_with("with_pkg") ) + .arg(Arg::new("limit") + .required(false) + .multiple(false) + .long("limit") + .takes_value(true) + .value_name("LIMIT") + .about("Only list LIMIT submits") + ) ) .subcommand(App::new("jobs") |