Re:Howdoi – Instant Coding Answers via the Command Line
by nicpottier on Tuesday January 08, 2013 @12:42PM
(#5027288)
Also.. don't you think the more common case is not that the top answer is incorrect but rather you picked the wrong question from the search results? Seems to me that would be more common.
[ Parent
| on HN ]
Re:Howdoi – Instant Coding Answers via the Command Line
by gleitz on Tuesday January 08, 2013 @12:48PM
(#5027310)
Ah yes I should clarify. -p2 picks the second search result from Google, not the second answer to the question.
$ howdoi format dates django templates -l
http://stackoverflow.com/questions/7737146/django-template-d...
$ howdoi format dates django templates -p2 -l
http://stackoverflow.com/questions/1180372/how-to-format-dat...
$ howdoi format dates django templates -p3 -l
http://stackoverflow.com/questions/4087717/django-template-d...
Another improvement might be to list the second and third answers to the currently selected question.