aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2017-04-28 21:05:28 +0000
committerConrad Meyer <cem@FreeBSD.org>2017-04-28 21:05:28 +0000
commitbb4877783caa18336e0c90f67ff3fbfe09ff5cd7 (patch)
treef212d3bafb81b38b18aad12b349674b540df7018
parent8b48354659bd9765e5df3bd1e634422511c4b5e7 (diff)
downloadsrc-bb4877783caa18336e0c90f67ff3fbfe09ff5cd7.tar.gz
src-bb4877783caa18336e0c90f67ff3fbfe09ff5cd7.zip
editline.3: Add missing argument to H_SET description
The H_SET operation of the history() function takes an int argument which is the position of the item to which the cursor should be moved to. Submitted by: Abhinav Upadhyay <abhinav@NetBSD.org>
Notes
Notes: svn path=/head/; revision=317570
-rw-r--r--lib/libedit/editline.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/editline.3 b/lib/libedit/editline.3
index 0234b0d75d25..c09ffeb2e012 100644
--- a/lib/libedit/editline.3
+++ b/lib/libedit/editline.3
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 24, 2016
+.Dd April 28, 2017
.Dt EDITLINE 3
.Os
.Sh NAME
@@ -767,7 +767,7 @@ Return the previous element in the history.
Return the next element in the history.
.It Dv H_CURR
Return the current element in the history.
-.It Dv H_SET
+.It Dv H_SET , Fa "int position"
Set the cursor to point to the requested element.
.It Dv H_ADD , Fa "const char *str"
Append