ipython/ipython — pull request #2404 by tkf (2012-09-12 13:15:38+00:00)
Title: Option to limit search result in history magic command

To use the new limit option introduced in #2393.

Diff is rather big for what it really does because I need argparse and custom action to parse argument without changing other semantics.

BTW probably 3e6f57d083a7c6e301cdd641cd2792df27c3a82b (magic_arguments.py refactoring) is not needed. I just couldn't stand introducing duplicated code. But removing it should not change the functionality.