Add --wide option to show-connections

This adds the --wide (-w) option to show-connections, and also makes
it so both --wide and -w are acceptable for show-queue.  In addition,
the options for show-caches, show-connections, and show-queue have
all been documented accordingly (though, show-caches is a little
different in its behavior).

Change-Id: I6adee795763bda9533c3700216695945d8bb7af8
This commit is contained in:
Doug Kelly
2013-06-11 01:36:31 -05:00
parent bc5e786653
commit 6599d77eeb
5 changed files with 46 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ import java.util.concurrent.TimeUnit;
@AdminHighPriorityCommand
@CommandMetaData(name = "show-queue", descr = "Display the background work queues, including replication")
final class ShowQueue extends SshCommand {
@Option(name = "-w", usage = "display without line width truncation")
@Option(name = "--wide", aliases = {"-w"}, usage = "display without line width truncation")
private boolean wide;
@Inject