Exception: ShellOpts::Error

Inherits:
ShellOptsError show all
Defined in:
lib/shellopts.rb

Overview

Raised on syntax errors on the command line (eg. unknown option). When ShellOpts handles the exception a message with the following format is printed on standard error:

<program>: <message>
Usage: <program> ...

Direct Known Subclasses

Failure

Instance Attribute Summary

Attributes inherited from ShellOptsError

#token

Method Summary

Methods inherited from ShellOptsError

#initialize

Constructor Details

This class inherits a constructor from ShellOpts::ShellOptsError