diff --git a/advanced/index.html b/advanced/index.html index cdcecb34b26c1f66ea27b979da968d896d175e27..4685f7c781054674c69fb7a051807a6644f17316 100644 --- a/advanced/index.html +++ b/advanced/index.html @@ -11,7 +11,7 @@ title: Advanced Features {% highlight php startinline %} $getopt = new Getopt(array( - new Option('o', 'option', Getopt::REQUIRED_ARGUMENT) + (new Option('o', 'option', Getopt::REQUIRED_ARGUMENT)) ->setDescription('Description of option') ->setDefaultValue('default') )); @@ -39,4 +39,4 @@ $getopt = new Getopt(array( <dt><a href="argument-validation.html">Argument Validation</a></dt> <dd>Automatically check the validity of option arguments</dd> -</dl> \ No newline at end of file +</dl>