A Problem In My Custom Command's Mutiuse Flag

Hi.
I’m a maya plugin developer in Korea.

I’'ve got some problem for creating a custom maya command.
The problem is that multiuse flag does not work in Python.

(MEL) pwLocatorCmd -startMotion 0 -startMotion 1 → This works well
(Python) pwLocatorCmd(startMotion=[0, 1]) → This does not work.

What’s wrong with this? Is a limitation of Maya’s current python support?
Here is some portion of my c++ sources.


Syntax
pwLocatorCmd::newSyntax()
{
MSyntax syntax;
syntax.addFlag(pwLocatorStartMotionFlag, pwLocatorStartMotionFlagLong, MSyntax::kLong);
syntax.makeFlagMultiUse(pwLocatorStartMotionFlag);
return syntax;
}

MStatus
pwLocatorCmd::doIt(const MArgList& args)
{
MStatus status;
if (agdb.isFlagSet(pwLocatorStartMotionFlag))
{
int nuses = agdb.numberOfFlagUses(pwLocatorStartMotionFlag);
for (int i = 0; i < nuses; i++)
{
MArgList aglst;
status = agdb.getFlagArgumentList(pwLocatorStartMotionFlag, i, aglst);
std::cout << aglst.length() << std::endl; ← always 0 !!!
int s = 0;
aglst.get(0, s);
}
return MS::kSuccess;
}
}