public static function opts(\Console_CommandLine $optParser)
{
$cmd = $optParser->addCommand('bookmark');
+ static::addOptHtml($cmd);
static::optsGeneric($cmd);
$cmd->addArgument(
'url',
$req->addProperty('bookmark-of', $url);
if ($cmdRes->args['text']) {
- $req->addProperty('content', $cmdRes->args['text']);
+ $req->addContent($cmdRes->args['text'], $cmdRes->options['html']);
}