We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a767940 commit a14e71aCopy full SHA for a14e71a
src/main.rs
@@ -45,9 +45,9 @@ struct MacheteArgs {
45
#[argh(switch)]
46
fix: bool,
47
48
- /// respect ignore files (.gitignore, .ignore, etc.) when searching for files.
+ /// also search in ignored files (.gitignore, .ignore, etc.) when searching for files.
49
50
- ignore: bool,
+ no_ignore: bool,
51
52
/// print version.
53
@@ -138,7 +138,7 @@ fn run_machete() -> anyhow::Result<bool> {
138
&path,
139
CollectPathOptions {
140
skip_target_dir: args.skip_target_dir,
141
- respect_ignore_files: args.ignore,
+ respect_ignore_files: !args.no_ignore,
142
},
143
) {
144
Ok(entries) => entries,
0 commit comments