From a4c9a80dacf405623698acfc971d636bbc0e43c7 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 10 Dec 2009 09:16:52 +0000 Subject: Add "server options" which are server-wide and not bound to a session or window. Set and displayed with "set -s" and "show -s". Currently the only option is "quiet" (like command-line -q, allowing it to be set from .tmux.conf), but others will come along. --- cmd-server-info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd-server-info.c') diff --git a/cmd-server-info.c b/cmd-server-info.c index 8c85b2c3..60acbdf8 100644 --- a/cmd-server-info.c +++ b/cmd-server-info.c @@ -70,8 +70,8 @@ cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx) tim = ctime(&start_time); *strchr(tim, '\n') = '\0'; ctx->print(ctx, "pid %ld, started %s", (long) getpid(), tim); - ctx->print(ctx, "socket path %s, debug level %d%s", - socket_path, debug_level, be_quiet ? ", quiet" : ""); + ctx->print( + ctx, "socket path %s, debug level %d", socket_path, debug_level); if (uname(&un) == 0) { ctx->print(ctx, "system is %s %s %s %s", un.sysname, un.release, un.version, un.machine); -- cgit v1.2.3