diff --git a/pre_commit_hooks/removed.py b/pre_commit_hooks/removed.py
index 9710b2d..60df096 100644
--- a/pre_commit_hooks/removed.py
+++ b/pre_commit_hooks/removed.py
@@ -5,7 +5,7 @@ from typing import Sequence
 
 def main(argv: Optional[Sequence[str]] = None) -> int:
     argv = argv if argv is not None else sys.argv[1:]
-    hookid, new_hookid, url = argv
+    hookid, new_hookid, url = argv[:3]
     raise SystemExit(
         f'`{hookid}` has been removed -- use `{new_hookid}` from {url}',
     )

diff --git a/tests/removed_test.py b/tests/removed_test.py
index 83df164..d635eb1 100644
--- a/tests/removed_test.py
+++ b/tests/removed_test.py
@@ -8,6 +8,7 @@ def test_always_fails():
         main((
             'autopep8-wrapper', 'autopep8',
             'https://github.com/pre-commit/mirrors-autopep8',
+            '--foo', 'bar',
         ))
     msg, = excinfo.value.args
     assert msg == (

error loading a removed hook
when load a removed hook throw this error

```
Flake8 (removed).........................................................Failed
- hook id: flake8
- exit code: 1

Traceback (most recent call last):
  File "/Users/pedro/.cache/pre-commit/repo3ku28fr9/py_env-python3.8/bin/pre-commit-hooks-removed", line 8, in <module>
    sys.exit(main())
  File "/Users/pedro/.cache/pre-commit/repo3ku28fr9/py_env-python3.8/lib/python3.8/site-packages/pre_commit_hooks/removed.py", line 8, in main
    hookid, new_hookid, url = argv
ValueError: too many values to unpack (expected 3)
```
tests/removed_test.py::test_always_fails