summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-04-22 09:33:09 +0200
committerMatthias Beyer <matthias.beyer@atos.net>2021-04-22 10:16:30 +0200
commit0f231979ce6d35e3e9ec4773904cf763a1d9aac4 (patch)
treed9ce8528feab69cc0388c7fffea5097dac45c838 /src/cli.rs
parente342a2b39edeca20519a1d28dbba394ad5da6a10 (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.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 0c0e78d..6e347ff 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -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")