[前][次][番号順一覧][スレッド一覧]

ruby-changes:49250

From: nagachika <ko1@a...>
Date: Thu, 21 Dec 2017 00:08:06 +0900 (JST)
Subject: [ruby-changes:49250] nagachika:r61366 (ruby_2_4): merge revision(s) 58409: [Backport #10838]

nagachika	2017-12-20 23:58:57 +0900 (Wed, 20 Dec 2017)

  New Revision: 61366

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61366

  Log:
    merge revision(s) 58409: [Backport #10838]
    
    ri.1: fix errors in ri man page
    
    * man/ri.1: fix some errors in ri man page (add missing options,
      remove options that do not exist, fix formatter list).
    
      Reported by Josh Cheek.  [ruby-core:68065] [Bug #10838]

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/man/ri.1
    branches/ruby_2_4/version.h
Index: ruby_2_4/man/ri.1
===================================================================
--- ruby_2_4/man/ri.1	(revision 61365)
+++ ruby_2_4/man/ri.1	(revision 61366)
@@ -7,14 +7,14 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_4/man/ri.1#L7
 .Nd Ruby API reference front end
 .Sh SYNOPSIS
 .Nm
-.Op Fl Ti
+.Op Fl alTi
 .Op Fl d Ar directory
 .Op Fl f Ar format
-.Op Fl -list-doc-dirs
+.Op Fl w Ar width
+.Op Fl -server Ns [= Ns Ar PORT Ns ]
 .Op Fl -no-standard-docs
+.Op Fl - Ns Oo Cm no- Oc Ns Cm list-doc-dirs
 .Op Fl - Ns Oo Cm no- Oc Ns Bro Cm system Ns | Ns Cm site Ns | Ns Cm gems Ns | Ns Cm home Brc
-.Op Fl - Ns Oo Cm no- Oc Ns Cm use-cache
-.Op Fl -width Ns = Ns Ar width
 .Op Ar target ...
 .Sh DESCRIPTION
 .Nm
@@ -60,9 +60,22 @@ ri compact\! https://github.com/ruby/ruby/blob/trunk/ruby_2_4/man/ri.1#L60
 .Sh OPTIONS
 .Bl -tag -width "1234567890123" -compact
 .Pp
+.It Fl -help
+Show help and exit.
+.Pp
+.It Fl v
 .It Fl -version
-Prints the version of
-.Nm .
+Output version information and exit.
+.Pp
+.It Fl a
+.It Fl - Ns Oo Cm no- Oc Ns Cm all
+Show all documentation for a class or module.
+.Pp
+.It Fl l
+.It Fl - Ns Oo Cm no- Oc Ns Cm list
+List classes
+.Nm
+knows about.
 .Pp
 .It Fl T
 .It Fl -no-pager
@@ -73,18 +86,20 @@ Send output directly to stdout, rather t https://github.com/ruby/ruby/blob/trunk/ruby_2_4/man/ri.1#L86
 List of directories from which to source documentation in addition to the standard
 directories.  May be repeated.
 .Pp
+.It Fl -server Ns [= Ns Ar PORT Ns ]
+Run RDoc server on the given port.  The default port is 8214.
+.Pp
 .It Fl f Ar FORMAT
-.It Fl -fmt Ar FORMAT
 .It Fl -format Ns = Ns FORMAT
 Format to use when displaying output:
 .Pp
-ansi, bs, html, plain, simple
+ansi, bs, markdown, rdoc
 .Pp
 Use 'bs' (backspace) with most pager programs. To use ANSI, either disable the
 pager or tell the pager to allow control characters.
 .Pp
 .It Fl i
-.It Fl -interactive
+.It Fl - Ns Oo Cm no- Oc Ns Cm interactive
 This makes
 .Nm
 go into interactive mode.
@@ -96,7 +111,7 @@ methods in case multiple methods match a https://github.com/ruby/ruby/blob/trunk/ruby_2_4/man/ri.1#L111
 will allow the user to enter in a method name (with auto-completion, if readline
 is supported) when viewing a class.
 .Pp
-.It Fl -list-doc-dirs
+.It Fl - Ns Oo Cm no- Oc Ns Cm list-doc-dirs
 List the directories from which ri will source documentation on stdout and exit.
 .Pp
 .It Fl -no-standard-docs
@@ -122,11 +137,6 @@ Include documentation from RubyGems. Def https://github.com/ruby/ruby/blob/trunk/ruby_2_4/man/ri.1#L137
 .It Fl - Ns Oo Cm no- Oc Ns Cm home
 Include documentation stored in ~/.rdoc.  Defaults to true.
 .Pp
-.It Fl - Ns Oo Cm no- Oc Ns Cm use-cache
-Whether or not to use
-.Nm Ns
-.Ns 's cache. True by default.
-.Pp
 .It Fl w Ar width
 .It Fl -width Ns = Ns Ar width
 Set the width of the output.
Index: ruby_2_4/version.h
===================================================================
--- ruby_2_4/version.h	(revision 61365)
+++ ruby_2_4/version.h	(revision 61366)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_4/version.h#L1
 #define RUBY_VERSION "2.4.4"
 #define RUBY_RELEASE_DATE "2017-12-20"
-#define RUBY_PATCHLEVEL 213
+#define RUBY_PATCHLEVEL 214
 
 #define RUBY_RELEASE_YEAR 2017
 #define RUBY_RELEASE_MONTH 12
Index: ruby_2_4
===================================================================
--- ruby_2_4	(revision 61365)
+++ ruby_2_4	(revision 61366)

Property changes on: ruby_2_4
___________________________________________________________________
Modified: svn:mergeinfo
## -0,0 +0,1 ##
   Merged /trunk:r58409

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]