aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-04 11:23:17 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-04 11:23:17 +0000
commitff56ed7bd66f9be56f525838c21695a8574c1a09 (patch)
tree96633f03a5b2d07a35965f76afc506f3b0e3740a /tmux.c
parent225e07fe38ecf4755cdcd38664d82a5611c0b5ac (diff)
downloadrtmux-ff56ed7bd66f9be56f525838c21695a8574c1a09.tar.gz
rtmux-ff56ed7bd66f9be56f525838c21695a8574c1a09.tar.bz2
rtmux-ff56ed7bd66f9be56f525838c21695a8574c1a09.zip
Nuke ?.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tmux.c b/tmux.c
index 7a0124d0..e4d3f57a 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.27 2007-10-03 22:32:24 nicm Exp $ */
+/* $Id: tmux.c,v 1.28 2007-10-04 11:23:17 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -171,7 +171,7 @@ main(int argc, char **argv)
*name = '\0';
path = NULL;
- while ((opt = getopt(argc, argv, "S:s:v?")) != EOF) {
+ while ((opt = getopt(argc, argv, "S:s:v")) != EOF) {
switch (opt) {
case 'S':
path = xstrdup(optarg);
@@ -183,7 +183,6 @@ main(int argc, char **argv)
case 'v':
debug_level++;
break;
- case '?':
default:
goto usage;
}