groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject [1/2] groovy git commit: Groovyshell: Make verb case for command descriptions match (closes #274)
Date Mon, 29 Feb 2016 07:16:53 GMT
Repository: groovy
Updated Branches:
  refs/heads/master e64fbe82b -> 55cd2e224


Groovyshell: Make verb case for command descriptions match (closes #274)

The majority of commands use the imperative voice (e.g.: 'Set',
'Exit').  This commit makes the DocCommand and RegisterCommand
match this style.


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

Branch: refs/heads/master
Commit: 661aa9395c6cfd9e657795af1a215dd50e21c1cf
Parents: e64fbe8
Author: Jake Gage <jake.gage@gmail.com>
Authored: Mon Feb 29 00:07:54 2016 -0600
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Mon Feb 29 08:16:39 2016 +0100

----------------------------------------------------------------------
 .../codehaus/groovy/tools/shell/commands/DocCommand.properties   | 2 +-
 .../groovy/tools/shell/commands/RegisterCommand.properties       | 2 +-
 subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc           | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/661aa939/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/commands/DocCommand.properties
----------------------------------------------------------------------
diff --git a/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/commands/DocCommand.properties
b/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/commands/DocCommand.properties
index d4be4a3..a8498c4 100644
--- a/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/commands/DocCommand.properties
+++ b/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/commands/DocCommand.properties
@@ -16,6 +16,6 @@
 #  specific language governing permissions and limitations
 #  under the License.
 #
-command.description=Opens a browser window displaying the doc for the argument
+command.description=Open a browser window displaying the doc for the argument
 command.usage=[<class>]
 command.help=Opens a browser window displaying the doc for the argument.

http://git-wip-us.apache.org/repos/asf/groovy/blob/661aa939/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/commands/RegisterCommand.properties
----------------------------------------------------------------------
diff --git a/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/commands/RegisterCommand.properties
b/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/commands/RegisterCommand.properties
index 3d88bd8..e05e8d2 100644
--- a/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/commands/RegisterCommand.properties
+++ b/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/commands/RegisterCommand.properties
@@ -16,6 +16,6 @@
 #  specific language governing permissions and limitations
 #  under the License.
 #
-command.description=Registers a new command with the shell
+command.description=Register a new command with the shell
 command.usage=<classname> [<name>] [alias]
 command.help=Registers the given @|BOLD classname|@ as a new command.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/groovy/blob/661aa939/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
index 4d903d5..8be7852 100644
--- a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
+++ b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
@@ -202,8 +202,8 @@ Available commands:
   :history   (:H ) Display, manage and recall edit-line history
   :alias     (:a ) Create an alias
   :set       (:= ) Set (or list) preferences
-  :register  (:rc) Registers a new command with the shell
-  :doc       (:D ) Opens a browser window displaying the doc for the argument
+  :register  (:rc) Register a new command with the shell
+  :doc       (:D ) Open a browser window displaying the doc for the argument
 
 For help on a specific command type:
     :help <command>


Mime
View raw message