mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Informational messages on window option changes.
This commit is contained in:
8
tmux.c
8
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 <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;
|
||||
|
Reference in New Issue
Block a user