From c9c309e436a83f8248537d2bfe0b330e5373c409 Mon Sep 17 00:00:00 2001 From: Dianne Skoll Date: Tue, 15 Oct 2024 10:36:55 -0400 Subject: [PATCH] Document how to use --print-config-cmd --- man/remind.1.in | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/man/remind.1.in b/man/remind.1.in index 71293e82..a70ef8ef 100644 --- a/man/remind.1.in +++ b/man/remind.1.in @@ -470,7 +470,18 @@ to standard output and then exit. .TP .B \-\-print-config-cmd This option causes \fBRemind\fR to print the exact \fB./configure\fR -command that was used when \fBRemind\fR was built. +command that was used when \fBRemind\fR was built. You can use this +to build a new version of \fBRemind\fR using the same configuration +as an existing one by running: +.RS +.PP +.nf + eval `remind --print-config-cmd` +.fi +.PP +from the top-level \fBRemind\fR source directory. +.RE + .TP .B \-\-print-tokens The \fB\-\-print-tokens\fR option causes \fBRemind\fR to print the tokens