Repository: syncope
Updated Branches:
  refs/heads/master 933fcc68f -> 08531e6e6


Wrong resource command messages, SYNCOPE-158


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

Branch: refs/heads/master
Commit: b9f542bf26702f3823168fa86ac8955d50341583
Parents: 933fcc6
Author: massi <[email protected]>
Authored: Tue Dec 1 14:56:56 2015 +0100
Committer: massi <[email protected]>
Committed: Tue Dec 1 14:56:56 2015 +0100

----------------------------------------------------------------------
 .../syncope/client/cli/commands/resource/ResourceDetails.java      | 2 +-
 client/cli/src/main/resources/messages.properties                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/b9f542bf/client/cli/src/main/java/org/apache/syncope/client/cli/commands/resource/ResourceDetails.java
----------------------------------------------------------------------
diff --git 
a/client/cli/src/main/java/org/apache/syncope/client/cli/commands/resource/ResourceDetails.java
 
b/client/cli/src/main/java/org/apache/syncope/client/cli/commands/resource/ResourceDetails.java
index 5d0f90b..be0029c 100644
--- 
a/client/cli/src/main/java/org/apache/syncope/client/cli/commands/resource/ResourceDetails.java
+++ 
b/client/cli/src/main/java/org/apache/syncope/client/cli/commands/resource/ResourceDetails.java
@@ -44,7 +44,7 @@ public class ResourceDetails extends AbstractResourceCommand {
             try {
                 final Map<String, String> details = new LinkedMap<>();
                 final List<ResourceTO> resourceTOs = 
resourceSyncopeOperations.list();
-                details.put("Total numbers", 
String.valueOf(resourceTOs.size()));
+                details.put("Total number", 
String.valueOf(resourceTOs.size()));
                 resourceResultManager.printDetails(details);
             } catch (final SyncopeClientException ex) {
                 LOG.error("Error reading details about resource", ex);

http://git-wip-us.apache.org/repos/asf/syncope/blob/b9f542bf/client/cli/src/main/resources/messages.properties
----------------------------------------------------------------------
diff --git a/client/cli/src/main/resources/messages.properties 
b/client/cli/src/main/resources/messages.properties
index dd9bc2f..934cba0 100644
--- a/client/cli/src/main/resources/messages.properties
+++ b/client/cli/src/main/resources/messages.properties
@@ -26,7 +26,7 @@ policy.help.message=\nUsage: policy [options]\n  Options:\n   
 --help \n    --de
 question.help.message=\nUsage: question [options]\n  Options:\n    --help \n   
 --list \n    --read \n       Syntax: --read {QUESTION-ID} {QUESTION-ID} 
[...]\n    --delete \n       Syntax: --delete {QUESTION-ID} {QUESTION-ID} 
[...]\n
 realm.help.message=\nUsage: realm [options]\n  Options:\n    --help \n    
--details \n    --list \n
 report.help.message=\nUsage: report [options]\n  Options:\n    --help \n    
--details\n    --list \n    --list-jobs \n    --read \n       Syntax: --read 
{REPORT-ID} {REPORT-ID} [...] \n    --delete \n       Syntax: --delete 
{REPORT-ID} {REPORT-ID} [...]\n    --execute \n       Syntax: --execute 
{REPORT-ID} \n    --read-execution \n       Syntax: --read-execution 
{EXECUTION-ID} {EXECUTION-ID} [...]\n    --delete-execution \n       Syntax: 
--delete-execution {EXECUTION-ID} {EXECUTION-ID} [...]\n    
--export-execution-result \n       Syntax: --export-execution-result 
{EXECUTION-ID} {EXECUTION-ID} [...] {FORMAT}\n          Format: CSV / HTML / 
PDF / XML / RTF\n
-resource.help.message=\nUsage: resource [options]\n  Options:\n    --help \n   
 --details \n    --list \n    --read \n       Syntax: --read {CONNECTOR-ID} 
{CONNECTOR-ID} [...]\n    --delete \n       Syntax: --delete {CONNECTOR-ID} 
{CONNECTOR-ID} [...]\n
+resource.help.message=\nUsage: resource [options]\n  Options:\n    --help \n   
 --details \n    --list \n    --read \n       Syntax: --read {RESOURCE-NAME} 
{RESOURCE-NAME} [...]\n    --delete \n       Syntax: --delete {RESOURCE-NAME} 
{RESOURCE-NAME} [...]\n
 role.help.message=\nUsage: role [options]\n  Options:\n    --help \n    
--details \n    --list \n    --read \n       Syntax: --read {ROLE-ID} {ROLE-ID} 
[...]\n    --delete \n       Syntax: --delete {ROLE-ID} {ROLE-ID} [...]\n
 schema.help.message=\nUsage: schema [options]\n  Options:\n    --help \n    
--details \n    --list-all\n    --list-plain\n    --list-derived\n    
--list-virtual\n    --read {SCHEMA-TYPE} {SCHEMA-KEY}\n        Schema type: 
PLAIN / DERIVED / VIRTUAL\n    --delete {SCHEMA-TYPE} {SCHEMA-KEY}\n        
Schema type: PLAIN / DERIVED / VIRTUAL\n
 task.help.message=\nUsage: task [options]\n  Options:\n    --help \n    
--details\n    --list\n       Syntax: --list {TASK-TYPE} \n          Task type: 
NOTIFICATION / PROPAGATION / PUSH / SCHEDULED / SYNCHRONIZATION\n    
--list-running-jobs \n    --list-scheduled-jobs \n    --read \n       Syntax: 
--read {TASK-ID} {TASK-ID} [...]\n    --read-execution \n       Syntax: 
--read-execution {TASK-EXEC-ID} {TASK-EXEC-ID} [...]\n    --delete \n       
Syntax: --delete {TASK-ID} {TASK-ID} [...]\n    --delete-execution \n       
Syntax: --delete-execution {TASK-EXEC-ID} {TASK-EXEC-ID} [...]\n    --execute 
\n       Syntax: --execute {TASK-ID} {DRY-RUN}\n          Dry run: true / 
false\n

Reply via email to