aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-09-02 00:54:00 +0000
committerTiago Cunha <tcunha@gmx.com>2009-09-02 00:54:00 +0000
commit99de03ea327add0e8532227a5cc4367c8cee8bdc (patch)
tree567a9453fa196cdb9335fa818a9b2715c68fc5fd /tmux.c
parentd463eddb8b7cd9cce6c06777db7fe3980e42dce4 (diff)
downloadrtmux-99de03ea327add0e8532227a5cc4367c8cee8bdc.tar.gz
rtmux-99de03ea327add0e8532227a5cc4367c8cee8bdc.tar.bz2
rtmux-99de03ea327add0e8532227a5cc4367c8cee8bdc.zip
Sync OpenBSD patchset 303:
Sort cases same as getopt argument, from martynas.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tmux.c b/tmux.c
index f9283a70..983ee483 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.165 2009-08-31 22:30:15 tcunha Exp $ */
+/* $Id: tmux.c,v 1.166 2009-09-02 00:54:00 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -289,6 +289,9 @@ main(int argc, char **argv)
flags |= IDENTIFY_88COLOURS;
flags &= ~IDENTIFY_256COLOURS;
break;
+ case 'd':
+ flags |= IDENTIFY_HASDEFAULTS;
+ break;
case 'f':
if (cfg_file)
xfree(cfg_file);
@@ -299,23 +302,20 @@ main(int argc, char **argv)
xfree(label);
label = xstrdup(optarg);
break;
+ case 'q':
+ be_quiet = 1;
+ break;
case 'S':
if (path != NULL)
xfree(path);
path = xstrdup(optarg);
break;
- case 'q':
- be_quiet = 1;
- break;
case 'u':
flags |= IDENTIFY_UTF8;
break;
case 'U':
unlock = 1;
break;
- case 'd':
- flags |= IDENTIFY_HASDEFAULTS;
- break;
case 'v':
debug_level++;
break;