mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-08 09:14:22 +01:00
Sync OpenBSD patchset 303:
Sort cases same as getopt argument, from martynas.
This commit is contained in:
parent
d463eddb8b
commit
99de03ea32
14
tmux.c
14
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;
|
||||
|
Loading…
Reference in New Issue
Block a user