summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBurdette Lamar <BurdetteLamar@Yahoo.com>2022-07-11 10:04:58 -0500
committergit <svn-admin@ruby-lang.org>2022-07-12 00:05:15 +0900
commit66dfcbed376489193ad5afeb5da384ddc1f9c849 (patch)
tree6929f459f0ef04ed9f8c9f5c45801f0163c9333b /lib
parentb1218fd33127237a935a8820c1787d093eec28cd (diff)
[ruby/irb] [DOC] Include updated help message (https://github.com/ruby/irb/pull/377)
* Include updated help message https://github.com/ruby/irb/commit/ff129f3794
Diffstat (limited to 'lib')
-rw-r--r--lib/irb.rb49
-rw-r--r--lib/irb/lc/help-message13
-rw-r--r--lib/irb/lc/ja/help-message12
3 files changed, 1 insertions, 73 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index 8e40ffb4d5..9a3a491641 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -51,54 +51,7 @@ require_relative "irb/easter-egg"
#
# == Command line options
#
-# Usage: irb.rb [options] [programfile] [arguments]
-# -f Suppress read of ~/.irbrc
-# -d Set $DEBUG to true (same as `ruby -d')
-# -r load-module Same as `ruby -r'
-# -I path Specify $LOAD_PATH directory
-# -U Same as `ruby -U`
-# -E enc Same as `ruby -E`
-# -w Same as `ruby -w`
-# -W[level=2] Same as `ruby -W`
-# --context-mode n Set n[0-4] to method to create Binding Object,
-# when new workspace was created
-# --extra-doc-dir Add an extra doc dir for the doc dialog
-# --echo Show result (default)
-# --noecho Don't show result
-# --echo-on-assignment
-# Show result on assignment
-# --noecho-on-assignment
-# Don't show result on assignment
-# --truncate-echo-on-assignment
-# Show truncated result on assignment (default)
-# --inspect Use `inspect' for output
-# --noinspect Don't use inspect for output
-# --multiline Use multiline editor module
-# --nomultiline Don't use multiline editor module
-# --singleline Use singleline editor module
-# --nosingleline Don't use singleline editor module
-# --colorize Use colorization
-# --nocolorize Don't use colorization
-# --autocomplete Use autocompletion
-# --noautocomplete Don't use autocompletion
-# --prompt prompt-mode/--prompt-mode prompt-mode
-# Switch prompt mode. Pre-defined prompt modes are
-# `default', `simple', `xmp' and `inf-ruby'
-# --inf-ruby-mode Use prompt appropriate for inf-ruby-mode on emacs.
-# Suppresses --multiline and --singleline.
-# --sample-book-mode/--simple-prompt
-# Simple prompt mode
-# --noprompt No prompt mode
-# --single-irb Share self with sub-irb.
-# --tracer Display trace for each execution of commands.
-# --back-trace-limit n
-# Display backtrace top n and tail n. The default
-# value is 16.
-# --verbose Show details
-# --noverbose Don't show details
-# -v, --version Print the version of irb
-# -h, --help Print help
-# -- Separate options of irb from the list of command-line args
+# :include: ./irb/lc/help-message
#
# == Configuration
#
diff --git a/lib/irb/lc/help-message b/lib/irb/lc/help-message
index 39cbd11bcd..3405fa775f 100644
--- a/lib/irb/lc/help-message
+++ b/lib/irb/lc/help-message
@@ -1,14 +1,3 @@
-# -*- coding: utf-8 -*-
-#
-# irb/lc/help-message.rb -
-# $Release Version: 0.9.6$
-# $Revision$
-# by Keiju ISHITSUKA(keiju@ruby-lang.org)
-#
-# --
-#
-#
-#
Usage: irb.rb [options] [programfile] [arguments]
-f Don't initialize from configuration file.
-d Set $DEBUG and $VERBOSE to true (same as 'ruby -d').
@@ -58,5 +47,3 @@ Usage: irb.rb [options] [programfile] [arguments]
-v, --version Print the version of irb.
-h, --help Print help.
-- Separate options of irb from the list of command-line args.
-
-# vim:fileencoding=utf-8
diff --git a/lib/irb/lc/ja/help-message b/lib/irb/lc/ja/help-message
index 238535afb7..1c15d331ea 100644
--- a/lib/irb/lc/ja/help-message
+++ b/lib/irb/lc/ja/help-message
@@ -1,13 +1,3 @@
-# -*- coding: utf-8 -*-
-# irb/lc/ja/help-message.rb -
-# $Release Version: 0.9.6$
-# $Revision$
-# by Keiju ISHITSUKA(keiju@ruby-lang.org)
-#
-# --
-#
-#
-#
Usage: irb.rb [options] [programfile] [arguments]
-f ~/.irbrc を読み込まない.
-d $DEBUG をtrueにする(ruby -d と同じ)
@@ -53,5 +43,3 @@ Usage: irb.rb [options] [programfile] [arguments]
-v, --version irbのバージョンを表示する.
-h, --help irb のヘルプを表示する.
-- 以降のコマンドライン引数をオプションとして扱わない.
-
-# vim:fileencoding=utf-8