public function __construct()
{
parent::__construct('create', 'course');
$this->addOption('c|category:', 'category id');
$this->addOption('f|fullname:', 'full name');
$this->addOption('d|description:', 'description');
$this->addOption('F|format:', 'format (e.g. one of site, weeks, topics, etc.)');
$this->addOption('i|idnumber:', 'id number');
$this->addOption('v|visible:', 'visible (y or n, by default created visible)');
$this->addArgument('shortname');
$this->maxArguments = 255;
}