aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-06-25 06:40:25 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-06-25 06:40:25 +0000
commit40c242a6d530250cc64ab05078581e598f20c314 (patch)
tree5d5c332add037e0c4573e1f9b93b8de6b19d1cb6 /tmux.c
parenta7075f1c66cf62bc28e715238099c7bd7aa5aeaa (diff)
downloadrtmux-40c242a6d530250cc64ab05078581e598f20c314.tar.gz
rtmux-40c242a6d530250cc64ab05078581e598f20c314.tar.bz2
rtmux-40c242a6d530250cc64ab05078581e598f20c314.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.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/tmux.c b/tmux.c
index ee05cc19..915d0acd 100644
--- a/tmux.c
+++ b/tmux.c
@@ -233,19 +233,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);