diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-07-28 15:24:19 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-07-28 20:13:39 +0900 |
commit | 23ef32665689e43c200fb6ad9f14934a752d47b5 (patch) | |
tree | e7ca6769119edd21064f81465b54fd47a760bd23 /doc/tutorial/short_names.rb | |
parent | 3026ee56b15ad983ebbff625273256dddf5ac48d (diff) |
Manually picking https://github.com/ruby/optparse/pull/14
Diffstat (limited to 'doc/tutorial/short_names.rb')
-rw-r--r-- | doc/tutorial/short_names.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/doc/tutorial/short_names.rb b/doc/tutorial/short_names.rb deleted file mode 100644 index 6581dfe19a..0000000000 --- a/doc/tutorial/short_names.rb +++ /dev/null @@ -1,9 +0,0 @@ -require 'optparse' -parser = OptionParser.new -parser.on('-x') do |value| - p ['x', value] -end -parser.on('-1', '-%') do |value| - p ['-1 or -%', value] -end -parser.parse! |