From bf102f6036b9291f0494b253b1558f2dab9ec001 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 24 Mar 2015 19:02:14 +0100 Subject: m + doc PASSPHRASE_STAR_CHAR, PASSPHRASE_TEXT_EMPTY and PASSPHRASE_TEXT_NOT_EMPTY MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- info/libpassphrase.texinfo | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) (limited to 'info') diff --git a/info/libpassphrase.texinfo b/info/libpassphrase.texinfo index 7a82f3f..d981a3f 100644 --- a/info/libpassphrase.texinfo +++ b/info/libpassphrase.texinfo @@ -221,10 +221,10 @@ The following options are defined: @item @code{PASSPHRASE_ECHO} Do not hide the passphrase. -@item @code{PASSPHRASE_STAR} @footnote{May not be combined with @code{PASSPHRASE_ECHO}.} +@item @code{PASSPHRASE_STAR} @footnote{May not be combined with @code{PASSPHRASE_ECHO} or @code{PASSPHRASE_TEXT}.} Use `*' for each character instead of disabling echoing. -@item @code{PASSPHRASE_TEXT} @footnote{May not be combined with @code{PASSPHRASE_TEXT}.} +@item @code{PASSPHRASE_TEXT} @footnote{May not be combined with @code{PASSPHRASE_STAR} or @code{PASSPHRASE_ECHO}.} Use the texts `(empty)' and `(not empty)' to describe whether anything has been entered or not the instead of disabling echoing. @@ -319,6 +319,37 @@ in @command{valgrind}. @end table +In addition, you may use the follow flags. + +@table @asis + +@item @code{PASSPHRASE_STAR_CHAR} +The text to print instead of the character `*' when +@code{PASSPHRASE_STAR} is used. For example you may run +@example +make OPTIONS=PASSPHRASE_STAR \ + PASSPHRASE_STAR_CHAR="#" +@end example + +@item @code{PASSPHRASE_TEXT_EMPTY} +The text to print instead of the `(empty)' when +@code{PASSPHRASE_TEXT} is used. For example you may run +@example +make OPTIONS=PASSPHRASE_TEXT \ + PASSPHRASE_TEXT_EMPTY="there is nothing here" +@end example + +@item @code{PASSPHRASE_TEXT_NOT_EMPTY} +The text to print instead of the `(not empty)' when +@code{PASSPHRASE_TEXT} is used. For example you may run +@example +make OPTIONS=PASSPHRASE_TEXT \ + PASSPHRASE_TEXT_NOT_EMPTY="there is something here" +@end example + +@end table + + @node GNU Free Documentation License @appendix GNU Free Documentation License -- cgit v1.2.3-70-g09d2