diff options
author | Amadeusz Sławiński <amade@asmblr.net> | 2015-06-08 23:43:38 +0200 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2015-06-08 23:43:38 +0200 |
commit | 6d367d5ca45382d87cabf903e94a1935998b7741 (patch) | |
tree | f440582bee98ab7fe6e520d5555df14c0f64c8f1 | |
parent | 98334b5f852fc27d8865018949c5e74d41fc2b33 (diff) | |
download | screen-6d367d5ca45382d87cabf903e94a1935998b7741.tar.gz |
Document -R & -RR options properly
Bug: 45202
-rw-r--r-- | src/doc/screen.1 | 5 | ||||
-rw-r--r-- | src/doc/screen.texinfo | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/doc/screen.1 b/src/doc/screen.1 index 2072f4a..8a0d51f 100644 --- a/src/doc/screen.1 +++ b/src/doc/screen.1 @@ -342,6 +342,11 @@ which runs in multiuser mode. This indicates that screen should look for sessions in another user's directory. This requires setuid-root. .TP 5 .B \-R +resumes screen only when it's unambiguous which one to attach, usually +when only one +.I screen +is detached. Otherwise lists available sessions. +.B \-RR attempts to resume the first detached .I screen session it finds. If successful, all other command-line options are ignored. diff --git a/src/doc/screen.texinfo b/src/doc/screen.texinfo index b7512a5..5bae664 100644 --- a/src/doc/screen.texinfo +++ b/src/doc/screen.texinfo @@ -406,6 +406,10 @@ runs in multiuser mode. This indicates that screen should look for sessions in another user's directory. This requires setuid-root. @item -R +resumes screen only when it's unambiguous which one to attach, usually +when only one @code{screen} is detached. Otherwise lists available sessions. + +@item -RR Resume the first appropriate detached @code{screen} session. If successful, all other command-line options are ignored. If no detached session exists, start a new session using the specified options, just as |