summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-09-09 09:22:36 +0300
committerLars Wirzenius <liw@liw.fi>2022-09-09 09:22:36 +0300
commitee3f1586ef8701edda3fbb21a3827634965d6efc (patch)
treecd8e2a1f57d780db3efa5a8f75750e417e52c331
parent0882db906ecae363e62f440923778280b2e780bb (diff)
downloadclab-ee3f1586ef8701edda3fbb21a3827634965d6efc.tar.gz
fix: lint command doesn't take arguments so drop them
Sponsored-by: author
-rw-r--r--src/main.rs5
1 files changed, 1 insertions, 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<PathBuf>,
-}
+struct LintCommand {}
impl LintCommand {
fn run(&self, _opt: &Opt, _book: &AddressBook) {}