aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-09-26 19:38:42 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-09-26 19:38:42 +0000
commit187648e8d1d6bc80113e829d7895e1c81ddd3c17 (patch)
treef3d2af9e8dd72f60c175d7cbd0611f353c587a5f /tmux.c
parent2a3e209ccedd5d737e6a778481e54ca042f3ab5f (diff)
downloadrtmux-187648e8d1d6bc80113e829d7895e1c81ddd3c17.tar.gz
rtmux-187648e8d1d6bc80113e829d7895e1c81ddd3c17.tar.bz2
rtmux-187648e8d1d6bc80113e829d7895e1c81ddd3c17.zip
-S for socket, -s for session.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tmux.c b/tmux.c
index 88d517c3..52ad920a 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.12 2007-09-26 19:09:30 nicm Exp $ */
+/* $Id: tmux.c,v 1.13 2007-09-26 19:38:42 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -55,7 +55,7 @@ usage(const char *s)
{
if (s == NULL)
s = "command [flags]";
- fprintf(stderr, "usage: %s [-v] [-s path] %s\n", __progname, s);
+ fprintf(stderr, "usage: %s [-v] [-S path] %s\n", __progname, s);
return (1);
}
@@ -161,9 +161,9 @@ main(int argc, char **argv)
u_int i;
path = NULL;
- while ((opt = getopt(argc, argv, "s:v?")) != EOF) {
+ while ((opt = getopt(argc, argv, "S:v?")) != EOF) {
switch (opt) {
- case 's':
+ case 'S':
path = xstrdup(optarg);
break;
case 'v':