lib/clin/option.rb
# Get the long argument syntax.
# ```
#  :require => '--require REQUIRE'
# ```
Get the long argument syntax.
Get the long argument syntax .
def long_argument
    return nil unless long
    out = long
    if argument
      arg = @optional_argument ? "[#{argument}]" : argument
      out += " #{arg}"
    end
    out
  end
def long_argument return nil unless long out = long if argument arg = @optional_argument ? "[#{argument}]" : argument out += " #{arg}" end out end
Get the long argument syntax.
Get the long argument syntax .