diff --git a/src/config.rs b/src/config.rs index 8b9aba4..a027812 100644 --- a/src/config.rs +++ b/src/config.rs @@ -17,7 +17,7 @@ pub struct Config { /// Cached current working directory for absolute path construction. /// Populated when `--full-path` is set; `None` means search by filename only. - pub cwd: Option, + pub full_path_base: Option, /// Whether to ignore hidden files and directories (or not). pub ignore_hidden: bool, diff --git a/src/main.rs b/src/main.rs index edb32bb..e6d5590 100644 --- a/src/main.rs +++ b/src/main.rs @@ -245,7 +245,7 @@ fn construct_config(mut opts: Opts, pattern_regexps: &[String]) -> Result Result