From e68a8b1e9a3c4ef644bd1eb7bc767afdcbb3ec6a Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 27 Mar 2018 00:44:34 +0000 Subject: [PATCH] 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 --- ruby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[] = {