Help: test-prompt-password
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to tclconference@googlegroups.com
or submit via the online form by Sep 9.

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.