P
Patrick Gundlach
Hi all,
I use option parser and I would like to decrease a distance in the
output. Example:
#!/usr/bin/env ruby
require "optparse"
a=ARGV.options { |opts|
opts.on("-a","--all","do everything")
opts.on("-h","--help") do
puts opts
exit 0
end
opts.parse!
}
result:
Usage: optparsetest [options]
-a, --all do everything
-h, --help
I'd like to decrease the distance between "--all" and "do everything,
such as
Usage: optparsetest [options]
-a, --all do everything
-h, --help
Anybody know how to achieve this?
Thanks,
Patrick
I use option parser and I would like to decrease a distance in the
output. Example:
#!/usr/bin/env ruby
require "optparse"
a=ARGV.options { |opts|
opts.on("-a","--all","do everything")
opts.on("-h","--help") do
puts opts
exit 0
end
opts.parse!
}
result:
Usage: optparsetest [options]
-a, --all do everything
-h, --help
I'd like to decrease the distance between "--all" and "do everything,
such as
Usage: optparsetest [options]
-a, --all do everything
-h, --help
Anybody know how to achieve this?
Thanks,
Patrick