Tcl Library Source Code
Help: test-prompt-password
Not logged in
Hosted by Hypnotoad
www.etoyoc.com
Etoyoc Industries on Etsy
Support this project: Buy some merch

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.