beyondgrep / ack2

**ack 2 is no longer being maintained. ack 3 is the latest version.**
https://github.com/beyondgrep/ack3/
Other
1.48k stars 140 forks source link

Help should not take user's settings into account. #358

Closed hoelzro closed 7 years ago

hoelzro commented 11 years ago

Help should not take user's settings into account. It should be effectively --no-env.

I ran ack --help and got

Directories ignored by default: autom4te.cache, blib, _build, .bzr, .cdv, cover_db, CVS, _darcs, ~.dep, ~.dot, .git, .hg, ~.nib, nytprof, .pc, ~.plst, RCS, SCCS, _sgbak and .svn

That nytprof is in there because of my .ackrc settings, not part of ack itself.

hoelzro commented 11 years ago

@petdance Is this relevant anymore, considered how much freedom we give users in ack2?

petdance commented 11 years ago

I'm thinking that it's even MORE necessary, because "Directories ignored by default" is a lie if we include ackrc, etc.

hoelzro commented 11 years ago

Ah, my eyes apparently missed the 'by default' part. So that makes a lot more sense! Should we should just the defaults, or the customizations as well? (In separate sections, I mean)

petdance commented 7 years ago

ack --help no longer shows that directory list.