mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/optparse] Rdoc for help (https://github.com/ruby/optparse/pull/21)
d07cb96a96
This commit is contained in:
parent
a15f0b9fe2
commit
43af561e08
5 changed files with 165 additions and 0 deletions
7
doc/optparse/ruby/help_banner.rb
Normal file
7
doc/optparse/ruby/help_banner.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
require 'optparse'
|
||||
parser = OptionParser.new
|
||||
parser.banner = "Usage: ruby help_banner.rb"
|
||||
parser.parse!
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue