summaryrefslogtreecommitdiffstats
path: root/cmd-server-info.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-12-10 16:59:02 +0000
committerTiago Cunha <tcunha@gmx.com>2009-12-10 16:59:02 +0000
commitdcdd2fb09497d9b568077afd0248f1f5156389f6 (patch)
treea608c55a40d668c5838d6138dc1e273450e50d61 /cmd-server-info.c
parent328861e330f7dac0c4d2c0bdbb58f59d2f5b78aa (diff)
Sync OpenBSD patchset 585:
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c
index c35e51b8..d168071d 100644
--- a/cmd-server-info.c
+++ b/cmd-server-info.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-server-info.c,v 1.36 2009-12-04 22:14:47 tcunha Exp $ */
+/* $Id: cmd-server-info.c,v 1.37 2009-12-10 16:59:02 tcunha Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -70,8 +70,8 @@ cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx)
*strchr(tim, '\n') = '\0';
ctx->print(ctx,
"tmux " BUILD ", 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);