cocos2dx v2.2 problem creating multi-platform project

Hi I’m trying to create a multi-platform project from the python script on mac osx like this:

$ python create_project.py -p TestGame -k com.testgame -l cpp

And I get the following error

Invalid -package parameter
Invalid -language parameter

I’m trying to migrate to 2.2, should I, is this version stable? Or I must continue with 2.1.5/2.1.4 ?

EDIT:
I was using wrong parameters. The one listed was for v3.
This is the working script line for v2.2

$ python create_project.py -project MyGame -package com.MyCompany.AwesomeGame -language cpp

Many thanks.