diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-03-10 14:05:16 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-03-10 07:56:44 +0000 |
| commit | 9de9cb53c091fa14397380fd0cc776330457ace6 (patch) | |
| tree | f46ca2283500cb6e0adf2c21475724c5407e2549 /lib/optparse.rb | |
| parent | 1a985d36a753e2e867c2a2c37548f514748d8c8e (diff) | |
[ruby/optparse] [DOC] Update documents to use single quotes instead of backqoutes
https://github.com/ruby/optparse/commit/5e71a70cb5
Diffstat (limited to 'lib/optparse.rb')
| -rw-r--r-- | lib/optparse.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/optparse.rb b/lib/optparse.rb index 11218fe940..c0e861d73b 100644 --- a/lib/optparse.rb +++ b/lib/optparse.rb @@ -142,7 +142,7 @@ # Used: # # $ ruby optparse-test.rb -r -# optparse-test.rb:9:in `<main>': missing argument: -r (OptionParser::MissingArgument) +# optparse-test.rb:9:in '<main>': missing argument: -r (OptionParser::MissingArgument) # $ ruby optparse-test.rb -r my-library # You required my-library! # @@ -235,7 +235,7 @@ # $ ruby optparse-test.rb --user 2 # #<struct User id=2, name="Gandalf"> # $ ruby optparse-test.rb --user 3 -# optparse-test.rb:15:in `block in find_user': No User Found for id 3 (RuntimeError) +# optparse-test.rb:15:in 'block in find_user': No User Found for id 3 (RuntimeError) # # === Store options to a Hash # |
