mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
man: use editline reference
When compiled with editline, refer this in man page as well instead of readline.
This commit is contained in:
parent
54f98c94b4
commit
dc934b13b9
@ -132,6 +132,15 @@ SEE_ALSO=$(srcdir)/see_also.end
|
||||
fi \
|
||||
) > $@
|
||||
|
||||
#
|
||||
# When EDITLINE_LIBS is defined, we are compiling with libedit
|
||||
#
|
||||
ifneq ("$(EDITLINE_LIBS)", "")
|
||||
DEFAULT_LIBLINE=editline
|
||||
else
|
||||
DEFAULT_LIBLINE=readline
|
||||
endif
|
||||
|
||||
define SUBSTVARS
|
||||
$(SED) -e "s+#VERSION#+$(LVM_VERSION)+" \
|
||||
-e "s+#DEFAULT_SYS_DIR#+$(DEFAULT_SYS_DIR)+" \
|
||||
@ -144,6 +153,7 @@ $(SED) -e "s+#VERSION#+$(LVM_VERSION)+" \
|
||||
-e "s+#DEFAULT_RUN_DIR#+$(DEFAULT_RUN_DIR)+" \
|
||||
-e "s+#DEFAULT_PID_DIR#+$(DEFAULT_PID_DIR)+" \
|
||||
-e "s+#SYSTEMD_GENERATOR_DIR#+$(SYSTEMD_GENERATOR_DIR)+" \
|
||||
-e "s+#DEFAULT_LIBLINE#+$(DEFAULT_LIBLINE)+" \
|
||||
-e "s+#DEFAULT_MANGLING#+$(DEFAULT_MANGLING)+" $< > $@
|
||||
endef
|
||||
|
||||
|
@ -24,11 +24,11 @@ kernel.
|
||||
The lvm command, and other commands listed below, are the command-line
|
||||
tools for LVM. A separate manual page describes each command in detail.
|
||||
.P
|
||||
If \fBlvm\fP is invoked with no arguments it presents a readline prompt
|
||||
(assuming it was compiled with readline support).
|
||||
If \fBlvm\fP is invoked with no arguments it presents a #DEFAULT_LIBLINE# prompt
|
||||
(assuming it was compiled with #DEFAULT_LIBLINE# support).
|
||||
LVM commands may be entered interactively at this prompt with
|
||||
readline facilities including history and command name and option
|
||||
completion. Refer to \fBreadline\fP(3) for details.
|
||||
#DEFAULT_LIBLINE# facilities including history and command name and option
|
||||
completion. Refer to \fB#DEFAULT_LIBLINE#\fP(3) for details.
|
||||
.P
|
||||
If \fBlvm\fP is invoked with argv[0] set to the name of a specific
|
||||
LVM command (for example by using a hard or soft link) it acts as
|
||||
@ -409,7 +409,7 @@ Message text may also change.
|
||||
.
|
||||
.TP
|
||||
.B HOME
|
||||
Directory containing \fI.lvm_history\fP if the internal readline
|
||||
Directory containing \fI.lvm_history\fP if the internal #DEFAULT_LIBLINE#
|
||||
shell is invoked.
|
||||
.TP
|
||||
.B LVM_OUT_FD
|
||||
@ -561,4 +561,4 @@ Prepends source file name and code line number with libdm debugging.
|
||||
.P
|
||||
.BR dmsetup (8),
|
||||
.BR dmstats (8),
|
||||
.BR readline (3)
|
||||
.BR #DEFAULT_LIBLINE# (3)
|
||||
|
Loading…
x
Reference in New Issue
Block a user