diff --git a/cli/app.rs b/cli/app.rs index 435c8f230..9c7e17d65 100644 --- a/cli/app.rs +++ b/cli/app.rs @@ -135,7 +135,7 @@ pub enum Command { impl Command { fn min_args(&self) -> usize { - (match self { + 1 + match self { Self::Quit | Self::Schema | Self::Help @@ -150,7 +150,7 @@ impl Command { | Self::NullValue | Self::LoadExtension => 1, Self::Import => 2, - } + 1) // argv0 + } // argv0 } fn usage(&self) -> &str {