Simplify MODULE LOAD and fix SCRIPT FLUSH doc
@@ -3155,9 +3155,7 @@ class Commands:
Passes all ``*args`` to the module, during loading.
Raises ``ModuleError`` if a module is not found at ``path``.
"""
- pieces = list(args)
- pieces.insert(0, path)
- return self.execute_command('MODULE LOAD', *pieces)
+ return self.execute_command('MODULE LOAD', path, *args)
def module_unload(self, name):
"""
