Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Printing help and the .ackrc file #110

Closed
whumann opened this Issue · 2 comments

3 participants

@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.

@diego898

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
Collaborator

This has been fixed in ack 2

@mmcclimon mmcclimon closed this
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.