On Thu, Oct 20, 2011 at 14:41:59 -0400, Ben Boeckel wrote:
> I've also updated list-clients to use format strings and added
> formatters for client information as well.

I should really remember to look at strings and man pages *before*
sending patches. *sigh*.

--Ben
From 540a72e8c927b864d5eae79a2cc1dba92e23c892 Mon Sep 17 00:00:00 2001
From: Ben Boeckel <maths...@gmail.com>
Date: Thu, 20 Oct 2011 14:43:13 -0400
Subject: [PATCH 3/3] Clean up strings for the new argument

---
 trunk/cmd-list-clients.c |    2 +-
 trunk/tmux.1             |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/trunk/cmd-list-clients.c b/trunk/cmd-list-clients.c
index 6b48c6e..3bbb1a0 100644
--- a/trunk/cmd-list-clients.c
+++ b/trunk/cmd-list-clients.c
@@ -32,7 +32,7 @@ int   cmd_list_clients_exec(struct cmd *, struct cmd_ctx *);
 const struct cmd_entry cmd_list_clients_entry = {
        "list-clients", "lsc",
        "Ft:", 0, 0,
-       "[-F format]" CMD_TARGET_SESSION_USAGE,
+       "[-F format] " CMD_TARGET_SESSION_USAGE,
        CMD_READONLY,
        NULL,
        NULL,
diff --git a/trunk/tmux.1 b/trunk/tmux.1
index 71f25b1..8b044c6 100644
--- a/trunk/tmux.1
+++ b/trunk/tmux.1
@@ -610,7 +610,10 @@ server and clients and destroy all sessions.
 .It Ic kill-session Op Fl t Ar target-session
 Destroy the given session, closing any windows linked to it and no other
 sessions, and detaching all clients attached to it.
-.It Ic list-clients Op Fl F Op Fl t Ar target-session
+.It Xo Ic list-clients
+.Op Fl F Ar format
+.Op Fl t Ar target-session
+.Xc
 .D1 (alias: Ic lsc )
 List all clients attached to the server.
 For the meaning of the
-- 
1.7.6.4

Attachment: pgpdczat8JdWB.pgp
Description: PGP signature

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to