From 8f97b95aee84aba6d4c8869a7a9eb98e446e9b32 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 19 Jan 2019 00:04:06 -0500 Subject: Take event number for save incr ev cannot be used for input, as the first thing history() does is clear it. --- bin/cash/libedit/editline.3 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bin/cash/libedit/editline.3') diff --git a/bin/cash/libedit/editline.3 b/bin/cash/libedit/editline.3 index 96ea5282..a27e24ce 100644 --- a/bin/cash/libedit/editline.3 +++ b/bin/cash/libedit/editline.3 @@ -838,9 +838,9 @@ Load the history list stored in .It Dv H_SAVE , Fa "const char *file" Save the history list to .Fa file . -.It Dv H_SAVE_INCR , Fa "const char *file" -Append the history list since the previous event -.Fa ev +.It Dv H_SAVE_INCR , Fa "const char *file" , Fa "int e" +Append the history list since the event numbered +.Fa e to .Fa file . .It Dv H_SAVE_FP , Fa "FILE *fp" @@ -848,9 +848,9 @@ Save the history list to the opened .Ft FILE pointer .Fa fp . -.It Dv H_SAVE_FP_INCR , Fa "FILE *fp" -Append the history list since the previous event -.Fa ev +.It Dv H_SAVE_FP_INCR , Fa "FILE *fp" , Fa "int e" +Append the history list since the event numbered +.Fa e to the opened .Ft FILE pointer -- cgit 1.4.1