You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2016/02/29 08:16:09 UTC

[1/2] groovy git commit: Remove ending puncutation from :clear command

Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 01ffb0bf3 -> 3452d2952


Remove ending puncutation from :clear command

The ClearCommand (:clear) is the only command whose description (shown
during `:help`) ends with a period.  This commit makes its description
match the style of other commands.


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

Branch: refs/heads/GROOVY_2_4_X
Commit: 5d2aac66b50be4088f1f8bd6adf870cdd11273c4
Parents: 01ffb0b
Author: Jake Gage <ja...@gmail.com>
Authored: Mon Feb 29 00:02:48 2016 -0600
Committer: pascalschumacher <pa...@gmx.net>
Committed: Mon Feb 29 08:14:46 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/5d2aac66/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/commands/ClearCommand.properties
----------------------------------------------------------------------
diff --git a/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/commands/ClearCommand.properties b/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/commands/ClearCommand.properties
index 9fe2603..4e0dde2 100644
--- a/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/commands/ClearCommand.properties
+++ b/subprojects/groovy-groovysh/src/main/resources/org/codehaus/groovy/tools/shell/commands/ClearCommand.properties
@@ -16,7 +16,7 @@
 #  specific language governing permissions and limitations
 #  under the License.
 #
-command.description=Clear the buffer and reset the prompt counter.
+command.description=Clear the buffer and reset the prompt counter
 command.usage=
 command.help=Clears the current buffer, resetting the prompt counter to 000. Can be used to recover from compilation errors.
 

http://git-wip-us.apache.org/repos/asf/groovy/blob/5d2aac66/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 f0b5397..9d6ed22 100644
--- a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
+++ b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
@@ -188,7 +188,7 @@ Available commands:
   :quit      (:q ) Alias to: :exit
   import     (:i ) Import a class into the namespace
   :display   (:d ) Display the current buffer
-  :clear     (:c ) Clear the buffer and reset the prompt counter.
+  :clear     (:c ) Clear the buffer and reset the prompt counter
   :show      (:S ) Show variables, classes or imports
   :inspect   (:n ) Inspect a variable or the last result with the GUI object browser
   :purge     (:p ) Purge variables, classes, imports or preferences


[2/2] groovy git commit: Groovyshell: Make verb case for command descriptions match (closes #274)

Posted by pa...@apache.org.
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/3452d295
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/3452d295
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/3452d295

Branch: refs/heads/GROOVY_2_4_X
Commit: 3452d2952c0cc89deaa353b2530a83517979632a
Parents: 5d2aac6
Author: Jake Gage <ja...@gmail.com>
Authored: Mon Feb 29 00:07:54 2016 -0600
Committer: pascalschumacher <pa...@gmx.net>
Committed: Mon Feb 29 08:14:52 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/3452d295/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/3452d295/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/3452d295/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 9d6ed22..7303a06 100644
--- a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
+++ b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
@@ -200,8 +200,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>