Skip to content

Commit

Permalink
Support the short "-I" option for all CLI arguments that take an image
Browse files Browse the repository at this point in the history
Let's support this short form everywhere for consistency (plus it's
handy to remember and type).
All other "limit" arguments already support it.

Signed-off-by: Michael Weiss <michael.weiss@eviden.com>
  • Loading branch information
primeos-work committed Jul 12, 2024
1 parent 2f81bf2 commit de8bf88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ pub fn cli() -> Command {
)
.arg(Arg::new("image")
.required(false)
.short('I')
.long("image")
.value_name("IMAGE")
.help("Limit listed submits to submits on IMAGE")
Expand Down Expand Up @@ -1100,6 +1101,7 @@ pub fn cli() -> Command {

.arg(Arg::new("filter_image")
.required(false)
.short('I')
.long("image")
.value_name("IMAGE")
.help("List only containers of IMAGE")
Expand Down

0 comments on commit de8bf88

Please sign in to comment.