summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorCedric Beust <cedric@beust.com>2010-07-20 23:26:28 -0700
committerCedric Beust <cedric@beust.com>2010-07-20 23:26:28 -0700
commit9311fbee357630f8406df0114d4c9b3023561156 (patch)
treeda3621c9cbaa5b9555b092ba2655481e2d3fbd8a /doc
parent010076fc59e6304034a2294ddae646542b2fbbd1 (diff)
downloadplatform_external_jcommander-9311fbee357630f8406df0114d4c9b3023561156.tar.gz
platform_external_jcommander-9311fbee357630f8406df0114d4c9b3023561156.tar.bz2
platform_external_jcommander-9311fbee357630f8406df0114d4c9b3023561156.zip
Updated doc with hidden
Diffstat (limited to 'doc')
-rw-r--r--doc/index.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/index.html b/doc/index.html
index 6847b28..a7ab730 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -351,6 +351,15 @@ Usage:
-testclass List of classes
</pre>
+<h2 id="Hiding">Hiding paramters</h2>
+
+If you don't want certain parameters to appear in the usage, you can mark them as "hidden":
+
+<pre class="brush: java">
+@Parameter(names = "-debug", description = "Debug mode", hidden = true)
+public boolean debug = false;
+</pre>
+
<h2 id="Internationalization">Internationalization</h2>
You can internationalize the descriptions of your parameters.