mirror of https://github.com/tmux/tmux.git
Sort cases same as getopt argument, from martynas.
parent
04319964b9
commit
34bb735a65
12
tmux.c
12
tmux.c
|
@ -280,6 +280,9 @@ main(int argc, char **argv)
|
||||||
flags |= IDENTIFY_88COLOURS;
|
flags |= IDENTIFY_88COLOURS;
|
||||||
flags &= ~IDENTIFY_256COLOURS;
|
flags &= ~IDENTIFY_256COLOURS;
|
||||||
break;
|
break;
|
||||||
|
case 'd':
|
||||||
|
flags |= IDENTIFY_HASDEFAULTS;
|
||||||
|
break;
|
||||||
case 'f':
|
case 'f':
|
||||||
if (cfg_file)
|
if (cfg_file)
|
||||||
xfree(cfg_file);
|
xfree(cfg_file);
|
||||||
|
@ -290,23 +293,20 @@ main(int argc, char **argv)
|
||||||
xfree(label);
|
xfree(label);
|
||||||
label = xstrdup(optarg);
|
label = xstrdup(optarg);
|
||||||
break;
|
break;
|
||||||
|
case 'q':
|
||||||
|
be_quiet = 1;
|
||||||
|
break;
|
||||||
case 'S':
|
case 'S':
|
||||||
if (path != NULL)
|
if (path != NULL)
|
||||||
xfree(path);
|
xfree(path);
|
||||||
path = xstrdup(optarg);
|
path = xstrdup(optarg);
|
||||||
break;
|
break;
|
||||||
case 'q':
|
|
||||||
be_quiet = 1;
|
|
||||||
break;
|
|
||||||
case 'u':
|
case 'u':
|
||||||
flags |= IDENTIFY_UTF8;
|
flags |= IDENTIFY_UTF8;
|
||||||
break;
|
break;
|
||||||
case 'U':
|
case 'U':
|
||||||
unlock = 1;
|
unlock = 1;
|
||||||
break;
|
break;
|
||||||
case 'd':
|
|
||||||
flags |= IDENTIFY_HASDEFAULTS;
|
|
||||||
break;
|
|
||||||
case 'v':
|
case 'v':
|
||||||
debug_level++;
|
debug_level++;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue