diff options
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/config.rs b/src/config.rs index c504590..2aa9d67 100644 --- a/src/config.rs +++ b/src/config.rs @@ -18,10 +18,6 @@ pub struct Config { #[arg(short = 'T', long = "sessions")] pub tmux_sessions: bool, - /// Exclude currently attached tmux session from output - #[arg(long)] - pub exclude_attached: bool, - /// Include arbitrary directories in output /// /// Note: Directories added by this flag are still filtered and sorted based on supplied @@ -56,10 +52,14 @@ pub struct Search { #[derive(Debug, Default, Clone, Args)] pub struct Projects { - /// Exclude matching sessions from output + /// Exclude matching sessions from output. #[arg(short, long = "exclude")] pub excludes: Vec<PathBuf>, + /// Exclude current working directory from output. + #[arg(short = 'E', long)] + pub exclude_cwd: bool, + /// Match all child directories. /// /// Uses the directory mtime as the timestamp. |