diff --git a/fsl/utils/fslsub.py b/fsl/utils/fslsub.py
index a5b0d87ad7faf32039094fc587a436e570cee9c6..0572a488531f3fa3b870507377a4df9672e88ec7 100644
--- a/fsl/utils/fslsub.py
+++ b/fsl/utils/fslsub.py
@@ -237,6 +237,7 @@ def func_to_cmd(func, args, kwargs, tmp_dir=None, clean=False):
     :arg args:    positional arguments
     :arg kwargs:  keyword arguments
     :arg tmp_dir: directory where to store the temporary file
+    :arg clean:   if True removes the submitted script after running it
     :return:      string which will run the function
     """
     pickle_bytes = BytesIO()