[#62904] [ruby-trunk - Feature #9894] [Open] [RFC] README.EXT: document rb_gc_register_mark_object — normalperson@...
Issue #9894 has been reported by Eric Wong.
3 messages
2014/06/02
[#63321] [ANN] ElixirConf 2014 - Don't Miss Jos辿 Valim and Dave Thomas — Jim Freeze <jimfreeze@...>
Just a few more weeks until ElixirConf 2014!
6 messages
2014/06/24
[ruby-core:63247] [ruby-trunk - Feature #9960] Add support for GNU --long options
From:
nobu@...
Date:
2014-06-19 11:30:17 UTC
List:
ruby-core #63247
Issue #9960 has been updated by Nobuyoshi Nakada.
Jari Aalto wrote:
> * Prefer uppercase "V" for version, as small "v" is customarily user for --verbose.
'-v' is verbose option now.
----------------------------------------
Feature #9960: Add support for GNU --long options
https://bugs.ruby-lang.org/issues/9960#change-47291
* Author: Jari Aalto
* Status: Feedback
* Priority: Low
* Assignee:
* Category:
* Target version:
----------------------------------------
Please consider adding GNU --long option equivalents. Notes:
* Prefer uppercase "V" for version, as small "v" is customarily user for --verbose.
* Change word "switches" into more commonly used "options" word in USAGE line.
**SUGGESTIONS**
~~~
Usage: ruby [switches] [--] [programfile] [arguments]
-0[octal] specify record separator (\0, if no argument)
-a, --autosplit
autosplit mode with -n or -p (splits $_ into $F)
-c, --check
check syntax only
-Cdirectory, --directory DIRECTORY
cd to directory before executing your script
-d, --debug
set debugging flags (set $DEBUG to true)
-e 'command', --eval
one line of script. Several -e's allowed. Omit [programfile]
-Eex[:in], --encoding [EXTERNAL:INTERNAL]
specify the default external and internal character encodings
-Fpattern, --autosplit-pattern PATTERN
split() pattern for autosplit (-a)
-i[extension], --in-place [EXTENSION]
edit ARGV files in place (make backup if extension supplied)
-Idirectory, --include DIRECTORY
specify $LOAD_PATH directory (may be used more than once)
-l, --eol-processing
enable line ending processing
-n, --autoloop-noprint
assume 'while gets(); ... end' loop around your script
-p, --autoloop
assume loop like -n but print line also like sed
-rlibrary, --require LIBRARY
require the library before executing your script
-s, --switch-parse
enable some switch parsing for switches after script name
-S, --search-path
look for the script using PATH environment variable
-T[level=1], --taint [NUMBER]
turn on tainting checks
-V, --version
print version number, then turn on verbose mode
-w, --warning
turn warnings on for your script
-W[level=2], --warning-level [NUMBER]
set warning level; 0=silence, 1=medium, 2=verbose
-x[directory], --extract [DIRECTORY]
strip off text before #!ruby line and perhaps cd to directory
-h, --help
show this message, --help for more info
~~~
--
https://bugs.ruby-lang.org/