diff --git a/src/handler.rs b/src/handler.rs index d3b97687..f71df1f8 100644 --- a/src/handler.rs +++ b/src/handler.rs @@ -37,8 +37,6 @@ pub fn handle_config(config: Config) -> Result<()> { cmds::core::main(config) } }, - - _ => cmds::core::main(config), }, } } diff --git a/src/structures/config.rs b/src/structures/config.rs index c3d5a025..5e655e68 100644 --- a/src/structures/config.rs +++ b/src/structures/config.rs @@ -141,20 +141,6 @@ pub struct Config { #[derive(Debug, Clap)] pub enum Command { - /// Filters results - #[clap(setting = AppSettings::Hidden)] - Query { - /// String used as filter (example: "git") - query: String, - }, - /// Autoselects the snippet that best matches the query - #[clap(setting = AppSettings::Hidden)] - Best { - /// String used as filter (example: "git remove branch") - query: String, - /// List of arguments (example: "mybranch" "remote") - args: Vec, - }, /// [Experimental] Performs ad-hoc, internal functions provided by navi Fn { /// Function name (example: "url::open")