From ee3f1586ef8701edda3fbb21a3827634965d6efc Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 9 Sep 2022 09:22:36 +0300 Subject: fix: lint command doesn't take arguments so drop them Sponsored-by: author --- src/main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index ec62374..6317fd0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -152,10 +152,7 @@ impl ConfigCommand { } #[derive(Debug, StructOpt)] -struct LintCommand { - #[structopt(parse(from_os_str))] - filenames: Vec, -} +struct LintCommand {} impl LintCommand { fn run(&self, _opt: &Opt, _book: &AddressBook) {} -- cgit v1.2.1