summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2016-08-03 09:08:40 +0000
committernicm <nicm@openbsd.org>2016-08-03 09:08:40 +0000
commit5641c8a697352fe79581b3fa8ad891e1e316b5a4 (patch)
treef4843b7127ea6277736c7d10e4faf527e99e4081
parentFix minimum size when pane status line is enabled, reported by Y Petremann. (diff)
downloadwireguard-openbsd-5641c8a697352fe79581b3fa8ad891e1e316b5a4.tar.xz
wireguard-openbsd-5641c8a697352fe79581b3fa8ad891e1e316b5a4.zip
We only replace the first %%, not multiple (use %2 for second).
-rw-r--r--usr.bin/tmux/tmux.18
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index b62583483c2..c7e5b93276d 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.491 2016/06/16 10:55:47 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.492 2016/08/03 09:08:40 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
.\"
@@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 16 2016 $
+.Dd $Mdocdate: August 3 2016 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -3800,9 +3800,7 @@ Before the command is executed, the first occurrence of the string
.Ql %%
and all occurrences of
.Ql %1
-are replaced by the response to the first prompt, the second
-.Ql %%
-and all
+are replaced by the response to the first prompt, all
.Ql %2
are replaced with the response to the second prompt, and so on for further
prompts.