Kerrick/google

Result numbering inconsistency

Closed this issue · 1 comments

So, when I do the command:

$ google "p equals np"

It gives me a list of 1-indexed results. I hit 1, hit enter and I get the first result.

However, when I execute:

$ google -r 1 "p equals np"

It shows me the result that would have been the second result without the -r flag.

Running:

$ google -r 0 "p equals np"

Gives me the result I was after. This is a little confusing :)

Also, on top of this, the -l flag, for "I'm feeling lucky!", gives the second result, not the first.