mirror of
https://github.com/tmux/tmux.git
synced 2025-01-26 16:13:34 +00:00
Sort cases same as getopt argument, from martynas.
This commit is contained in:
parent
04319964b9
commit
34bb735a65
12
tmux.c
12
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;
|
||||
|
Loading…
Reference in New Issue
Block a user