diff options
Diffstat (limited to 'lib/entry/libimagentrylist/src/cli.rs')
-rw-r--r-- | lib/entry/libimagentrylist/src/cli.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/entry/libimagentrylist/src/cli.rs b/lib/entry/libimagentrylist/src/cli.rs index 4b94d3bb..89dc29e1 100644 --- a/lib/entry/libimagentrylist/src/cli.rs +++ b/lib/entry/libimagentrylist/src/cli.rs @@ -20,13 +20,13 @@ use clap::{Arg, ArgMatches, App, SubCommand}; use libimagstore::store::FileLockEntry; -use libimagerror::into::IntoError; use result::Result; use listers::line::LineLister; use listers::path::PathLister; use lister::Lister; use error::ListErrorKind; +use error::ListError as LE; pub fn build_list_cli_component<'a, 'b>() -> App<'a, 'b> { SubCommand::with_name(list_subcommand_name()) @@ -97,6 +97,6 @@ pub fn list_entries_with_lister<'a, I>(m: &ArgMatches, entries: I) -> Result<()> Ok(()) } else { - Err(ListErrorKind::CLIError.into_error()) + Err(LE::from_kind(ListErrorKind::CLIError)) } } |