Help: test-prompt-password
Bounty program for improvements to Tcl and certain Tcl packages.

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.