With the following minimal example:
test.py:
import bpy
bpy.ops.mesh.primitive_plane_add(size=1,
location=(0, 0, 0))
Calling blender on the command gives:
$ blender --python test.py --background
Traceback (most recent call last):
File "/home/here/test.py", line 4, in <module>
location=(0, 0, 0))
File "/usr/share/blender/scripts/modules/bpy/ops.py", line 189, in __call__
ret = op_call(self.idname_py(), None, kw)
TypeError: Converting py args to operator properties: : keyword "size" unrecognized
Blender quit
$ blender -v
Blender 2.79 (sub 0)
Am I missing something ? Should I report this as a bug ?