diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-07 02:40:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-07 02:40:52 +0000 |
commit | 3890bb60a92918af998456359a0db642250fa13e (patch) | |
tree | 5dba56d8b18c940f038d10b3aa8bd683a1a0c05a | |
parent | ee696372a8840135c06e5605cf90593ff672b522 (diff) | |
download | ruby-3890bb60a92918af998456359a0db642250fa13e.tar.gz |
ruby.c: show feature names
* ruby.c (feature_option): show possible feature names when
unknown argument is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ruby.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -765,6 +765,7 @@ feature_option(const char *str, int len, void *arg, const unsigned int enable) } rb_warn("unknown argument for --%s: `%.*s'", enable ? "enable" : "disable", len, str); + rb_warn("features are [gems, did-you-mean, rubyopt, frozen-string-literal]."); } static void |