Correct get_links to get_all_links.

get_links has a parameter arity of 2.  Perhaps the code changed to no longer reflect this.

Either way the documentation is out of date or wrong