svn commit: r317570 - head/lib/libedit
Conrad Meyer
cem at FreeBSD.org
Fri Apr 28 21:05:30 UTC 2017
Author: cem
Date: Fri Apr 28 21:05:28 2017
New Revision: 317570
URL: https://svnweb.freebsd.org/changeset/base/317570
Log:
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 at NetBSD.org>
Modified:
head/lib/libedit/editline.3
Modified: head/lib/libedit/editline.3
==============================================================================
--- head/lib/libedit/editline.3 Fri Apr 28 20:51:18 2017 (r317569)
+++ head/lib/libedit/editline.3 Fri Apr 28 21:05:28 2017 (r317570)
@@ -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 histo
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
More information about the svn-src-all
mailing list