From 55d5b83408de27485e6b2ecc311d9ff8eaae822b Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 16 Jun 2008 17:35:40 +0000 Subject: Informational messages on window option changes. --- tmux.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tmux.c') diff --git a/tmux.c b/tmux.c index fe6bf773..edc2a81a 100644 --- a/tmux.c +++ b/tmux.c @@ -1,4 +1,4 @@ -/* $Id: tmux.c,v 1.55 2008-06-15 08:01:54 nicm Exp $ */ +/* $Id: tmux.c,v 1.56 2008-06-16 17:35:40 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -48,6 +48,7 @@ struct options global_options; char *paste_buffer; int debug_level; +int be_quiet; void sighandler(int); __dead void usage(void); @@ -174,7 +175,7 @@ main(int argc, char **argv) int n, opt; client = path = name = NULL; - while ((opt = getopt(argc, argv, "f:S:vV")) != EOF) { + while ((opt = getopt(argc, argv, "f:S:qvV")) != EOF) { switch (opt) { case 'f': cfg_file = xstrdup(optarg); @@ -182,6 +183,9 @@ main(int argc, char **argv) case 'S': path = xstrdup(optarg); break; + case 'q': + be_quiet = 1; + break; case 'v': debug_level++; break; -- cgit