diff options
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,10 +1,11 @@ -use crate::{search, Config}; use clap::{Args, Parser}; use figment::{value, Metadata, Profile, Provider}; use serde::{Deserialize, Serialize}; use std::path::PathBuf; use tracing::{metadata::LevelFilter, Level}; +use crate::{search, Config}; + /// Tool for listing project directories. #[derive(Debug, Clone, Default, Parser, Serialize, Deserialize)] #[command(author, version, about)] @@ -38,7 +39,7 @@ pub struct Projects { hidden: bool, /// Match git repositories - #[arg(long, short)] + #[arg(long, short, default_value_t = true)] git: bool, /// Match directories containing item named <PATTERN> |