aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-11-22 15:20:18 -0600
committerToby Vincent <tobyv13@gmail.com>2022-11-22 15:20:18 -0600
commit8c4e03340a39a966a06bdce0c948b5462774d020 (patch)
tree219cd883e757ddef446f921b0cf298c48a6df24f /src/config.rs
parent72e9765d58b87125bdd5a2664bbc58202bdedff7 (diff)
refactor: improve cli and config parsing
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config.rs b/src/config.rs
index 94421f9..677b202 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -60,17 +60,17 @@ mod tests {
SearchPath {
path: "/path/to/projects".into(),
hidden: false,
- recurse: None,
+ max_depth: None,
},
SearchPath {
path: "/path/to/other_projects".into(),
hidden: true,
- recurse: Some(1),
+ max_depth: Some(1),
},
SearchPath {
path: "/path/to/another_project".into(),
hidden: false,
- recurse: Some(0),
+ max_depth: Some(0),
},
]),
}