From: Intransition Date: 2010-12-06T13:10:09+09:00 Subject: Re: Commandline: How to add an own option? On Dec 5, 6:01 pm, Fritz Trapper wrote: > I tried it this way, but it fails und the ducumentation is extremely > poor: > > def initialize >  version           "0.0.1" >  author            "me" >  copyright         "2010, me" >  synopsis          "[-dh] log_file out_file" >  short_description "A simple app example that takes two arguments." >  long_description  "app5 is a simple application" > >  option :version, :names => %w(--version -v) > >  # Here is my new option: >  option :distance, :names => %w(--distance -d), :arity => [1,1], >    :arg_description => "Distanz", >    :opt_description => "Maximale Entfernung [m]" > >  option :help >  expected_args   :log_file, :out_file > end You need to give more context then this. What code is this? As far as I can tell it's just a error from word 'version'.