diff --git a/CHANGELOG.md b/CHANGELOG.md
index fda4a75e8bb24c5af7de0aa1d9f98e3a9890789a..5abcafd4cfead88ffb82fa019af8b29a85b56ea6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -28,11 +28,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ### Deprecated ###
 
-- The command line argument ``--prefix`` and the ``prefix`` argument of
-  `crawler_main` is deprecated. Use the new argument ``--remove-prefix``
-  instead.
+- The ``prefix`` argument of `crawler_main` is deprecated. Use the new argument
+  ``remove_prefix`` instead.
 
 ### Removed ###
+- The command line argument ``--prefix``. Use the new argument ``--remove-prefix`` instead.
 
 ### Fixed ###
 
diff --git a/unittests/test_tool.py b/unittests/test_tool.py
index af84f8fdbeb7f792a2648b6baab3c0266f803474..afb12a6bce3a8df19667b92850bed59c62f0d76a 100755
--- a/unittests/test_tool.py
+++ b/unittests/test_tool.py
@@ -982,3 +982,14 @@ def test_deprecated_prefix_option():
                      remove_prefix="to/be/removed")
 
     assert "(deprecated) `prefix` and the `remove_prefix`" in str(ve.value)
+
+
+def test_wrong_remove_prefix_option():
+    """Test that calling the crawler's main function with `remove_prefix` option
+    with a bad value raises the correct error.
+    """
+
+    with raises(RuntimeError) as ve:
+        crawler_main(rfp("test_directories", "examples_article"),
+                     rfp("scifolder_extended.yml"),
+                     remove_prefix="to/be/removed")