Skip to content

Commit 182f384

Browse files
committed
fix: invert --hidden flag
1 parent fa52961 commit 182f384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ fn parse_options<T: Iterator<Item = String>>(args: T) -> Result<Options, Error>
7373
/// Find all git repositories in a directory and its subdirectories.
7474
fn find_repositories(options: &Options) -> HashSet<PathBuf> {
7575
let walk = WalkBuilder::new(&options.directory)
76-
.hidden(options.hidden)
76+
.hidden(!options.hidden)
7777
.ignore(!options.no_ignore)
7878
.git_ignore(!options.no_ignore)
7979
.build();

0 commit comments

Comments
 (0)