Skip to content
This repository

Printing help and the .ackrc file #110

Closed
whumann opened this Issue February 05, 2010 · 2 comments

3 participants

whumann Michael McClimon Diego Mesa
whumann

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.

Diego Mesa

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

Michael McClimon
Collaborator

This has been fixed in ack 2

Michael McClimon mmcclimon closed this May 03, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.