diff options
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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': |