diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-16 17:35:40 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-16 17:35:40 +0000 |
commit | 55d5b83408de27485e6b2ecc311d9ff8eaae822b (patch) | |
tree | 58f63de5001cca24ae29fc488ee2a5ef4a9ab67b /tmux.c | |
parent | 1726bf0ffcda9f8911d0e6905c6dadd69d915525 (diff) | |
download | rtmux-55d5b83408de27485e6b2ecc311d9ff8eaae822b.tar.gz rtmux-55d5b83408de27485e6b2ecc311d9ff8eaae822b.tar.bz2 rtmux-55d5b83408de27485e6b2ecc311d9ff8eaae822b.zip |
Informational messages on window option changes.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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; |