aboutsummaryrefslogtreecommitdiffstats
path: root/ruby.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-27 00:44:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-27 00:44:34 +0000
commite68a8b1e9a3c4ef644bd1eb7bc767afdcbb3ec6a (patch)
treea1073b8c231b1f9c0a42118fe402575f4bc30f96 /ruby.c
parent9245e097ecf201f0f5eaeff307b1403d97c2318b (diff)
downloadruby-e68a8b1e9a3c4ef644bd1eb7bc767afdcbb3ec6a.tar.gz
ruby.c: exit by --version
* ruby.c (usage): stated exiting by `--version` option with nothing done. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index 9f16bd3ea8..90b20264f8 100644
--- a/ruby.c
+++ b/ruby.c
@@ -255,7 +255,7 @@ usage(const char *name, int help)
M("--external-encoding=encoding", ", --internal-encoding=encoding",
"specify the default external or internal character encoding"),
M("--verbose", "", "turn on verbose mode and disable script from stdin"),
- M("--version", "", "print the version"),
+ M("--version", "", "print the version number, then exit"),
M("--help", "", "show this message, -h for short message"),
};
static const struct message dumps[] = {