aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c8
1 files changed, 6 insertions, 2 deletions
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 <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;