summaryrefslogtreecommitdiffstats
path: root/cmd-server-info.c
authornicm <nicm>2009-03-29 19:09:57 (GMT)
committer nicm <nicm>2009-03-29 19:09:57 (GMT)
commit8fe00eddec23af8a986ffcbe8cce706a67441b95 (patch) (side-by-side diff)
tree591cb1b38d5dc1f2c0214722c5f1b2f810c32cd2 /cmd-server-info.c
parentb742f2e64d42d8ab96724b9aaf9c48ef25826c4c (diff)
downloadtmux-old-8fe00eddec23af8a986ffcbe8cce706a67441b95.zip
tmux-old-8fe00eddec23af8a986ffcbe8cce706a67441b95.tar.gz
tmux-old-8fe00eddec23af8a986ffcbe8cce706a67441b95.tar.bz2
Include protocol version.
Diffstat (limited to 'cmd-server-info.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cmd-server-info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c
index f08b348..1708060 100644
--- a/cmd-server-info.c
+++ b/cmd-server-info.c
@@ -80,6 +80,7 @@ cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx)
ctx->print(ctx, "configuration file is %s", cfg_file);
else
ctx->print(ctx, "configuration file not specified");
+ ctx->print(ctx, "protocol version is %d", PROTOCOL_VERSION);
ctx->print(ctx, "%u clients, %u sessions",
ARRAY_LENGTH(&clients), ARRAY_LENGTH(&sessions));
ctx->print(ctx, "");