Sort cases same as getopt argument, from martynas.

pull/1/head
Nicholas Marriott 2009-09-01 09:00:54 +00:00
parent 04319964b9
commit 34bb735a65
1 changed files with 6 additions and 6 deletions

12
tmux.c
View File

@ -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;