updated doc with info about echoInput
diff --git a/doc/index.html b/doc/index.html
index de5d755..88a33c2 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -157,6 +157,16 @@
You will need to type the value at this point before JCommander resumes.
+<h4>Echo Input</h4>
+
+In Java 6, by default, you will not be able to see what you type for passwords entered at the prompt (Java 5 and lower will always show the password). However, you can override this by setting <tt>echoInput</tt> to "true" (default is "false" and this setting only has an effect when <tt>password</tt> is "true"):
+<pre class="brush: java">
+public class ArgsPassword {
+ @Parameter(names = "-password", description = "Connection password", password = true, echoInput = true)
+ private String password;
+}
+</pre>
+
<h2><a class="section" name="Custom_types">Custom types</a></h2>
<h3>By annotation</h3>