Skip to content

Commit

Permalink
require --hidden for --git-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
solidiquis committed Apr 2, 2023
1 parent d462932 commit 2fb0cae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/render/context/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ pub struct Context {
#[arg(short = 'H', long)]
pub hidden: bool,

/// Disable traversal of .git directory when traversing hidden files; disabled by default
#[arg(long)]
/// Disable traversal of .git directory when traversing hidden files
#[arg(long, requires = "hidden")]
ignore_git: bool,

/// Display file icons
Expand Down

0 comments on commit 2fb0cae

Please sign in to comment.