diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-09-01 09:00:55 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-09-01 09:00:55 +0000 |
commit | cfcd09edfc7c43bfe81a718f966345d66782c9ed (patch) | |
tree | 586bdcdb73b15c0466310d684f5ac35c13f30b82 | |
parent | 3d9dba9640bacb2e0f107ca14afee010aa0ff6e3 (diff) |
Sort cases same as getopt argument, from martynas.
-rw-r--r-- | usr.bin/tmux/tmux.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index be57e001c96..805438b064f 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.36 2009/08/31 20:46:19 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.37 2009/09/01 09:00:54 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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; |