Printing help and the .ackrc file #110

Closed
whumann opened this Issue Feb 5, 2010 · 2 comments

Comments

Projects
None yet
3 participants
@whumann

whumann commented Feb 5, 2010

When I started using ack, typing "ack" without options would print the help. Good!

Now I have an .ackrc file and typing "ack" results in

"ack: No regular expression found".

I would prefer if ack would distinguish between command line args and .ackrc args and still print the help when called without args.

@diego898

This comment has been minimized.

Show comment
Hide comment
@diego898

diego898 Apr 21, 2011

I also agree with issue. It was discussed on the google groups some time ago.

I changed this locally by moving the if block responsible for printing the help, above the block responsible for adding the ackrc contents to the ARGV array

I also agree with issue. It was discussed on the google groups some time ago.

I changed this locally by moving the if block responsible for printing the help, above the block responsible for adding the ackrc contents to the ARGV array

@mmcclimon

This comment has been minimized.

Show comment
Hide comment
@mmcclimon

mmcclimon May 3, 2013

Collaborator

This has been fixed in ack 2

Collaborator

mmcclimon commented May 3, 2013

This has been fixed in ack 2

@mmcclimon mmcclimon closed this May 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment