summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Zattler <telegraph@gmx.net>2012-09-14 22:16:09 -0400
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>2012-09-14 22:16:09 -0400
commitb4a43d4b67a753b2af93fc3a1c85dd9aa0378ef8 (patch)
tree52fed221dffb6bb2db01ac238c36bb44bd0cbb9f
parentc64f800e7b197e14433ac97be12f32385a27a04f (diff)
downloadscreen-b4a43d4b67a753b2af93fc3a1c85dd9aa0378ef8.tar.gz
Amend documentation for -X option.
-rw-r--r--src/doc/screen.110
-rw-r--r--src/doc/screen.texinfo9
2 files changed, 11 insertions, 8 deletions
diff --git a/src/doc/screen.1 b/src/doc/screen.1
index bbb5a3d..98674eb 100644
--- a/src/doc/screen.1
+++ b/src/doc/screen.1
@@ -394,10 +394,12 @@ refuses to attach from within itself.
But when cascading multiple screens, loops are not detected; take care.
.TP 5
.B \-X
-Send the specified command to a running screen session. You can use
-the \fB-d\fP or \fB-r\fP option to tell screen to look only for
-attached or detached screen sessions. Note that this command doesn't
-work if the session is password protected.
+Send the specified command to a running screen session. You may
+use the \fB-S\fP option to specify the screen session if you have
+several screen sessions running. You can use the \fB-d\fP or
+\fB-r\fP option to tell screen to look only for attached or
+detached screen sessions. Note that this command doesn't work if
+the session is password protected.
.SH "DEFAULT KEY BINDINGS"
.ta 12n 26n
diff --git a/src/doc/screen.texinfo b/src/doc/screen.texinfo
index e39003a..d721647 100644
--- a/src/doc/screen.texinfo
+++ b/src/doc/screen.texinfo
@@ -458,10 +458,11 @@ But when cascading multiple screens, loops are not detected; take care.
@item -X
-Send the specified command to a running screen session. You can use
-the @code{-d} or @code{-r} option to tell screen to look only for
-attached or detached screen sessions. Note that this command doesn't
-work if the session is password protected.
+Send the specified command to a running screen session. You may use
+the @code{-S} option to specify the screen session if you have several
+running. You can use the @code{-d} or @code{-r} option to tell screen
+to look only for attached or detached screen sessions. Note that this
+command doesn't work if the session is password protected.
@end table