Use positional argument for id
This commit is contained in:
parent
19b5b53b2a
commit
d9add138d2
2 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,7 @@ use clap::{Arg, App, ArgGroup, SubCommand};
|
|||
pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> {
|
||||
app
|
||||
.arg(Arg::with_name("id")
|
||||
.long("id")
|
||||
.short("i")
|
||||
.index(1)
|
||||
.takes_value(true)
|
||||
.required(true)
|
||||
.help("View this entry at this store path")
|
||||
|
|
|
@ -21,6 +21,7 @@ This section contains the changelog from the last release to the next release.
|
|||
* Major changes
|
||||
* `imag-counter` and `libimagcounter` was removed.
|
||||
* `imag-mv` was introduced
|
||||
* `imag-view` uses positional args now
|
||||
|
||||
## 0.4.0
|
||||
|
||||
|
|
Loading…
Reference in a new issue