Merge pull request #1264 from matthiasbeyer/imag-log/show-alias-list

Alias subcommand "show" to "list"
This commit is contained in:
Matthias Beyer 2018-02-10 21:22:05 +01:00 committed by GitHub
commit 1f462e4635
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,7 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> {
.subcommand(SubCommand::with_name("show") .subcommand(SubCommand::with_name("show")
.about("View log(s)") .about("View log(s)")
.version("0.1") .version("0.1")
.alias("list")
.arg(Arg::with_name("show-all") .arg(Arg::with_name("show-all")
.long("all") .long("all")