summaryrefslogtreecommitdiff
path: root/lib/optparse
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/optparse] Add rdoc optionsNobuyoshi Nakada2022-01-121-0/+1
| | | | | | | Specify the main page and the page directory. Also in Rakefile, extract and use the same options from the gemspec file. https://github.com/ruby/optparse/commit/d182cd60b5
* [ruby/optparse] Use `require_relative` for internal requires ↵David Rodríguez2022-01-046-6/+6
| | | | | | (https://github.com/ruby/optparse/pull/28) https://github.com/ruby/optparse/commit/e4f2682128
* [ruby/optparse] Moved rdoc files to doc/optparseNobuyoshi Nakada2021-04-111-1/+1
| | | | https://github.com/ruby/optparse/commit/cccb28e0de
* [ruby/optparse] gemspec: Explicit files list [ci skip]Olle Jonsson2021-04-081-5/+1
| | | | | | | | This avoid shelling out, and includes a narrower list of files. https://github.com/ruby/optparse/commit/f3ca83caff Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* [ruby/optparse] Make use of option_params.rdocBurdetteLamar2021-04-081-0/+2
| | | | https://github.com/ruby/optparse/commit/d55d9284c3
* [ruby/optparse] gemspec: Explicitly list 0 executablesOlle Jonsson2021-04-081-1/+1
| | | | | | This gem exposes no executable files. https://github.com/ruby/optparse/commit/d14bf83007
* [ruby/optparse] Exclude unnecessary files from the packageNobuyoshi Nakada2021-03-291-1/+3
| | | | https://github.com/ruby/optparse/commit/dfd9380231
* [ruby/optparse] Change *opts to *params, to avoid confusionBurdetteLamar2021-03-291-0/+3
| | | | https://github.com/ruby/optparse/commit/f5f5e202dd
* Added the missing licenses field to some default gemsHiroshi SHIBATA2020-08-181-0/+1
|
* Extract version number from the sourceNobuyoshi Nakada2020-07-301-3/+4
| | | | | | | | | | | "requiring version.rb" strategy has some issues. - cannot work when cross-compiling - often introduces wrong namespace - must know the superclasses - costs at each runtime than at build-time etc.
* [ruby/optparse] Fix ls-files matching regexpNobuyoshi Nakada2020-07-241-2/+2
| | | | | | | | As splitting by NUL means to allow the file names to contain newlines, path names should match at beginning-of-string instead of beginning-of-line. https://github.com/ruby/optparse/commit/df3933aa2b
* [ruby/optparse] Define OptionParser::VersionNobuyoshi Nakada2020-07-231-2/+10
| | | | https://github.com/ruby/optparse/commit/4c0021b5b2
* [ruby/optparse] Update required ruby versionNobuyoshi Nakada2020-07-231-1/+1
| | | | | | | Now needs `DidYouMean#formatter` which is provided since did_you_mean 1.2, which requires ruby 2.5. https://github.com/ruby/optparse/commit/d44bb5c715
* Promote optparse to default gemsHiroshi SHIBATA2020-07-221-0/+21
|
* Allow --enable/--disable options to take an argumentNobuyoshi Nakada2019-05-151-2/+5
| | | | [Bug #15850]
* optparse/kwargs.rbnobu2016-10-141-0/+17
| | | | | | | | * lib/optparse/kwargs.rb (OptionParser#define_by_keywords): [EXPERIMENTAL] extract command line option definitions from the information of keyword arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add frozen_string_literal: false for all filesnaruse2015-12-166-0/+6
| | | | | | When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/core.rb: remove unused variables.hsbt2014-07-271-1/+1
| | | | | | | | | | | | | | | | * lib/erb.rb: ditto. * lib/mkmf.rb: ditto. * lib/net/http/response.rb: ditto. * lib/optparse/version.rb: ditto. * lib/prime.rb: ditto. * lib/racc/parser.rb: ditto. * lib/rexml/document.rb: ditto. * lib/rexml/dtd/dtd.rb: ditto. * lib/rexml/element.rb: ditto. * lib/rexml/functions.rb: ditto. * lib/rexml/parsers/xpathparser.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse/ac.rb: autoconf-like options.nobu2012-04-021-0/+50
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse/version.rb: remove variable shadowing to stopmatz2008-12-181-5/+5
| | | | | | | | | | | | | | | | | | | | warning. [ruby-core:20612] * lib/irb/completion.rb, lib/net/imap.rb, lib/prime.rb, lib/rinda/ring.rb, lib/racc/parser.rb, lib/shell/command-processor.rb, lib/yaml/yamlnode.rb: ditto. * lib/racc/parser.rb: remove space before parentheses. * lib/shell/command-processor.rb, lib/shell/process-controller.rb: use parentheses around arguments. * lib/irb/ext/change-ws.rb, lib/rexml/validation/relaxng.rb, lib/yaml/baseemitter.rb: indentation fix. * lib/matrix.rb: small cosmetic change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser::Officious): moved from DefaultList.nobu2004-11-091-17/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb, lib/optparse/version.rb: search also allnobu2003-09-081-4/+19
| | | | | | | capital versions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (--version): fix assignment/reference order.nobu2003-09-052-2/+14
| | | | | | | | | | | | | | * lib/optparse.rb (OptionParser#help): new; OptionParser#to_s may be deprecated in future. * lib/optparse/version.rb (OptionParser#show_version): hide Object. * test/runner.rb: fix optparse usage. * test/runner.rb: glob all testsuits if no tests given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb: --version takes an optional argument; "all" or a list of ↵nobu2003-08-311-0/+41
| | | | | | package names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb: get rid of warnings.nobu2003-05-214-3/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser::Switch::parse_arg): require blocknobu2002-08-071-1/+1
| | | | | | | | | always. * lib/optparse.rb (NilClass): must provide conversion block. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse/time.rb: prior time.rb.nobu2002-08-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse/uri.rb: require standard uri module. thanks tonobu2002-08-071-12/+3
| | | | | | | Minero Aoki. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* importnobu2002-07-123-0/+31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e