Skip to content

Commit

Permalink
admin: Update help strings
Browse files Browse the repository at this point in the history
Motivation:

The recent patch to add pool group patterns forgot to update the
help string.

Modification:

Update the help of the \s and \l commands.

Result:

Users are able to discover the new syntax.

Target: trunk
Require-notes: no
Require-book: no
  • Loading branch information
gbehrmann committed Sep 9, 2015
1 parent d01c45c commit b43de19
Showing 1 changed file with 6 additions and 5 deletions.
Expand Up @@ -543,8 +543,8 @@ public String call() throws Exception
"all matching cells in all matching domains are listed.")
class ListCommand implements Callable<String>
{
@Argument(required = false, valueSpec = "CELL[@DOMAIN]",
usage = "A glob pattern. An empty CELL or DOMAIN string matches any name.")
@Argument(required = false, valueSpec = "CELL[@DOMAIN]|POOL/POOLGROUP",
usage = "A glob pattern. An empty CELL, DOMAIN, POOL or POOLGROUP string matches any name.")
String[] pattern = {"*"};

@Override
Expand Down Expand Up @@ -735,11 +735,12 @@ public Serializable call() throws InterruptedException, NoRouteToCellException,
description = "Sends COMMAND to one or more cells.")
class SendCommand implements Callable<Serializable>
{
@Argument(index = 0, valueSpec = "CELL[@DOMAIN][,CELL[@DOMAIN]]...",
usage = "List of cell addresses. Wildcards are expanded. An empty CELL or DOMAIN string matches any name.")
@Argument(index = 0, valueSpec = "(CELL[@DOMAIN]|POOL/POOLGROUP)[,(CELL[@DOMAIN]|POOL/POOLGROUP)]...",
usage = "List of cell addresses. Wildcards are expanded. An empty CELL, DOMAIN, " +
"POOL or POOLGROUP string matches any name.")
String destination;

@Argument(index = 1, usage = "A cell command")
@Argument(index = 1, usage = "A cell command.")
String[] command;

@CommandLine
Expand Down

0 comments on commit b43de19

Please sign in to comment.