Skip to content

Commit

Permalink
Fix README (typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yann Ponzoni committed Apr 18, 2018
1 parent e8a6a15 commit b087b18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ A library to manage scripts arguments
### Check if a parameter (specified via a letter or a name) is set

```php
$Args = new \alphayax\utils\cli\GetOpt::getInstance();
$Args = \alphayax\utils\cli\GetOpt::getInstance();
$Args->setDescription('This script is a tiny example to show library features');
$verboseOption = $Args->addOpt('v', 'verbose', 'Verbose Mode');

Expand All @@ -40,7 +40,7 @@ $isVerboseMode = $verboseOption->isPresent();
### Get the value of the --file option

```php
$Args = new \alphayax\utils\cli\GetOpt::getInstance();
$Args = \alphayax\utils\cli\GetOpt::getInstance();
$Args->setDescription('This script is a tiny example to show library features');
$fileOption = $Args->addOpt('f', 'file', 'File name', true);

Expand Down

0 comments on commit b087b18

Please sign in to comment.