Top Level Namespace

Defined Under Namespace

Modules: Magent, MagentWeb Classes: Controller

Instance Method Summary collapse

Instance Method Details

#usage(option_parser, error = nil) ⇒ Object



15
16
17
18
19
# File 'bin/magent', line 15

def usage(option_parser, error = nil)
  $stderr.puts error if error
  $stderr.puts option_parser
  exit 1
end