diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-27 00:44:34 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-27 00:44:34 +0000 |
commit | 4f9572ea4bef631b1e4c82c1c6dd82cd3b390edd (patch) | |
tree | a1073b8c231b1f9c0a42118fe402575f4bc30f96 /ruby.c | |
parent | 2a3773315af1ca1ff388b04a838d2eccb4183274 (diff) | |
download | ruby-4f9572ea4bef631b1e4c82c1c6dd82cd3b390edd.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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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[] = { |