Odielib

Help: test-prompt-password
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2018 Conference, Houston/TX, US, Oct 15-19
Send your abstracts to tclconference@googlegroups.com or submit via the online form
by Aug 20.

The "test-prompt-password" command:

Usage: fossil test-prompt-password PROMPT VERIFY

Prompts the user for a password and then prints it verbatim.

Behavior is controlled by the VERIFY parameter:

0
Just ask once.

1
If the first answer is a non-empty string, ask for verification. Repeat if the two strings do not match.

2
Ask twice, repeat if the strings do not match.