diff --git a/bin/core/imag-view/src/ui.rs b/bin/core/imag-view/src/ui.rs index dd165850..d47973d4 100644 --- a/bin/core/imag-view/src/ui.rs +++ b/bin/core/imag-view/src/ui.rs @@ -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") diff --git a/doc/src/09020-changelog.md b/doc/src/09020-changelog.md index 0b4b20aa..fa234ed4 100644 --- a/doc/src/09020-changelog.md +++ b/doc/src/09020-changelog.md @@ -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