Return-Path: X-Original-To: apmail-groovy-commits-archive@minotaur.apache.org Delivered-To: apmail-groovy-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34C7B18BB7 for ; Mon, 29 Feb 2016 07:16:54 +0000 (UTC) Received: (qmail 32811 invoked by uid 500); 29 Feb 2016 07:16:54 -0000 Delivered-To: apmail-groovy-commits-archive@groovy.apache.org Received: (qmail 32780 invoked by uid 500); 29 Feb 2016 07:16:54 -0000 Mailing-List: contact commits-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list commits@groovy.apache.org Received: (qmail 32771 invoked by uid 99); 29 Feb 2016 07:16:54 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Feb 2016 07:16:54 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E2CE9DFAB5; Mon, 29 Feb 2016 07:16:53 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: pascalschumacher@apache.org To: commits@groovy.apache.org Date: Mon, 29 Feb 2016 07:16:53 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/2] groovy git commit: Groovyshell: Make verb case for command descriptions match (closes #274) 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 Authored: Mon Feb 29 00:07:54 2016 -0600 Committer: pascalschumacher 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=[] 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= [] [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