1: <?php
2: /**
3: * @author Chuck Hagenbuch <chuck@horde.org>
4: * @author Mike Naberezny <mike@maintainable.com>
5: * @license http://www.horde.org/licenses/bsd BSD
6: * @category Horde
7: * @package Argv
8: */
9:
10: /**
11: * Raised if an invalid option is seen on the command line.
12: *
13: * @category Horde
14: * @package Argv
15: */
16: class Horde_Argv_BadOptionException extends Horde_Argv_OptionException
17: {
18: public function __construct($opt_str)
19: {
20: parent::__construct(sprintf('no such option: %s', $opt_str));
21: }
22:
23: }
24: