summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-09-01 09:00:54 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-09-01 09:00:54 +0000
commit34bb735a65674816c90212f58c71e3adb6bf2696 (patch)
tree76699309f2274e124650dfba7fe81b3ae17d07be /tmux.c
parent04319964b95304138dbe5cbce0b97222769d0c17 (diff)
Sort cases same as getopt argument, from martynas.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tmux.c b/tmux.c
index e98d1d9c..103a6bc6 100644
--- a/tmux.c
+++ b/tmux.c
@@ -280,6 +280,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);
@@ -290,23 +293,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;