diff options
author | 2009-09-01 09:00:54 +0000 | |
---|---|---|
committer | 2009-09-01 09:00:54 +0000 | |
commit | 481abfa97ee96d5935ea6b5971e68211c5c0a0b9 (patch) | |
tree | 8566b103a7085929f1c1e4f45a62a28b924b6d50 /usr.bin/tmux/tmux.c | |
parent | If relayd returned an error don't exit with success. This may help scripts (diff) | |
download | wireguard-openbsd-481abfa97ee96d5935ea6b5971e68211c5c0a0b9.tar.xz wireguard-openbsd-481abfa97ee96d5935ea6b5971e68211c5c0a0b9.zip |
Sort cases same as getopt argument, from martynas.
Diffstat (limited to 'usr.bin/tmux/tmux.c')
-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; |