Skip to content

Commit

Permalink
Bug: 14588 This is addOption(), not addOptions().
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Mar 2, 2017
1 parent 97a6ba4 commit 3b2007e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions horde/bin/horde-memcache-stats
Expand Up @@ -43,16 +43,16 @@ $parser->addOption('--flush', array(
'dest' => 'flush',
'help' => 'Flush all data'
));
$parser->addOptions('-l', '--lookup', array(
$parser->addOption('-l', '--lookup', array(
'dest' => 'lookup',
'help' => 'Key to lookup'
));
$parser->addOptions('-r', '--raw', array(
$parser->addOption('-r', '--raw', array(
'action' => 'store_true',
'dest' => 'raw',
'help' => 'Display raw data'
));
$parser->addOptions('-s', '--summary', array(
$parser->addOption('-s', '--summary', array(
'action' => 'store_true',
'dest' => 'summary',
'help' => 'Display summary'
Expand Down

0 comments on commit 3b2007e

Please sign in to comment.