summaryrefslogtreecommitdiffstats
path: root/cmd-server-info.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-12-10 09:16:52 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-12-10 09:16:52 +0000
commita4c9a80dacf405623698acfc971d636bbc0e43c7 (patch)
tree059539758458dfcbcd8348ea471e843f30dc0ab0 /cmd-server-info.c
parent6311bd119ed728117fd6f0073792a76c2a6b842b (diff)
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.
Diffstat (limited to 'cmd-server-info.c')
-rw-r--r--cmd-server-info.c4
1 files changed, 2 insertions, 2 deletions
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);