diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-06-25 16:09:38 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-06-25 16:09:38 +0000 |
commit | f0bcbcfa7f07f9dba0828ae5328cd742b4ea1b91 (patch) | |
tree | 360b8e08aa55e0a059f640400247f812dad35938 | |
parent | 1b9ac18565a35dd8a59b8ecb67f4fe5bd095e5d6 (diff) | |
download | rtmux-f0bcbcfa7f07f9dba0828ae5328cd742b4ea1b91.tar.gz rtmux-f0bcbcfa7f07f9dba0828ae5328cd742b4ea1b91.tar.bz2 rtmux-f0bcbcfa7f07f9dba0828ae5328cd742b4ea1b91.zip |
Remove error about using -L and -S together which was never displayed as
logging wasn't yet enabled, was unnecessary, and contradicted the man page
which says using -S will cause -L to be ignored.
-rw-r--r-- | tmux.c | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.9 2009/06/23 18:27:40 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.10 2009/06/25 06:40:25 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -246,19 +246,11 @@ main(int argc, char **argv) cfg_file = xstrdup(optarg); break; case 'L': - if (path != NULL) { - log_warnx("-L and -S cannot be used together"); - exit(1); - } if (label != NULL) xfree(label); label = xstrdup(optarg); break; case 'S': - if (label != NULL) { - log_warnx("-L and -S cannot be used together"); - exit(1); - } if (path != NULL) xfree(path); path = xstrdup(optarg); |