[前][次][番号順一覧][スレッド一覧]

ruby-changes:50750

From: nobu <ko1@a...>
Date: Tue, 27 Mar 2018 09:44:40 +0900 (JST)
Subject: [ruby-changes:50750] nobu:r62932 (trunk): ruby.c: exit by --version

nobu	2018-03-27 09:44:34 +0900 (Tue, 27 Mar 2018)

  New Revision: 62932

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62932

  Log:
    ruby.c: exit by --version
    
    * ruby.c (usage): stated exiting by `--version` option with
      nothing done.

  Modified files:
    trunk/ruby.c
Index: ruby.c
===================================================================
--- ruby.c	(revision 62931)
+++ ruby.c	(revision 62932)
@@ -255,7 +255,7 @@ usage(const char *name, int help) https://github.com/ruby/ruby/blob/trunk/ruby.c#L255
 	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[] = {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]