Informational messages on window option changes.

This commit is contained in:
Nicholas Marriott
2008-06-16 17:35:40 +00:00
parent 1726bf0ffc
commit 55d5b83408
11 changed files with 129 additions and 35 deletions

8
tmux.c
View File

@ -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 <nicm@users.sourceforge.net>
@ -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;