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:54 UTC

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

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/55cd2e22
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/55cd2e22
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/55cd2e22

Branch: refs/heads/master
Commit: 55cd2e2244f1ae6d733355d7341ddf39d372cae3
Parents: 661aa93
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:16:40 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/55cd2e22/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/55cd2e22/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 8be7852..8dd4d74 100644
--- a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
+++ b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
@@ -190,7 +190,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