groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject incubator-groovy git commit: groovysh/help: make it clear, that `-e` evaluates code (closes #51)
Date Thu, 02 Jul 2015 19:12:40 GMT
Repository: incubator-groovy
Updated Branches:
  refs/heads/master 620f83556 -> 3400227ce


groovysh/help: make it clear, that `-e` evaluates code (closes #51)


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/3400227c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/3400227c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/3400227c

Branch: refs/heads/master
Commit: 3400227ce0e09565b4a3a11746e83209cb6a1cfa
Parents: 620f835
Author: Christoph Frick <rid@ofnir.net>
Authored: Thu Jul 2 16:15:44 2015 +0200
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Thu Jul 2 21:11:17 2015 +0200

----------------------------------------------------------------------
 .../src/main/groovy/org/codehaus/groovy/tools/shell/Main.groovy    | 2 +-
 .../main/resources/org/codehaus/groovy/tools/shell/Main.properties | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/3400227c/subprojects/groovy-groovysh/src/main/groovy/org/codehaus/groovy/tools/shell/Main.groovy
----------------------------------------------------------------------
diff --git a/subprojects/groovy-groovysh/src/main/groovy/org/codehaus/groovy/tools/shell/Main.groovy
b/subprojects/groovy-groovysh/src/main/groovy/org/codehaus/groovy/tools/shell/Main.groovy
index 2993e04..f99afd8 100644
--- a/subprojects/groovy-groovysh/src/main/groovy/org/codehaus/groovy/tools/shell/Main.groovy
+++ b/subprojects/groovy-groovysh/src/main/groovy/org/codehaus/groovy/tools/shell/Main.groovy
@@ -85,7 +85,7 @@ class Main
             v(longOpt: 'verbose', messages['cli.option.verbose.description'])
             q(longOpt: 'quiet', messages['cli.option.quiet.description'])
             d(longOpt: 'debug', messages['cli.option.debug.description'])
-            e(longOpt: 'evaluate', args: 1, optionalArg: false, messages['cli.option.evaluate.description'])
+            e(longOpt: 'evaluate', args: 1, argName: 'CODE', optionalArg: false, messages['cli.option.evaluate.description'])
             C(longOpt: 'color', args: 1, argName: 'FLAG', optionalArg: true, messages['cli.option.color.description'])
             D(longOpt: 'define', args: 1, argName: 'NAME=VALUE', messages['cli.option.define.description'])
             T(longOpt: 'terminal', args: 1, argName: 'TYPE', messages['cli.option.terminal.description'])

http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/3400227c/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/Main.properties
----------------------------------------------------------------------
diff --git a/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/Main.properties
b/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/Main.properties
index ca7c49c..e40ae96 100644
--- a/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/Main.properties
+++ b/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/Main.properties
@@ -31,7 +31,7 @@ cli.option.quiet.description=Suppress superfluous output
 
 cli.option.debug.description=Enable debug output
 
-cli.option.evaluate.description=Evaluate option fist when starting interactive session
+cli.option.evaluate.description=Evaluate the code first when starting interactive session
 
 cli.option.cp.description=Aliases for '-classpath'
 


Mime
View raw message