Skip to content

Commit

Permalink
Added note about and to the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarg committed Aug 24, 2023
1 parent 6e2a8e3 commit 2aaf209
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,8 @@ JCommander jc = JCommander.newBuilder()
----

For the most common cases, there is no need to actually implement `IDefaultProvider`, as JCommander contains the classes `PropertyFileDefaultProvider` and `EnvironmentVariableDefaultProvider` for reading defaults from a property file (`jcommander.properties` by default) or from an environment variable (`JCOMMANDER_OPTS` by default).


== Help parameter

Expand Down
5 changes: 4 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1775,6 +1775,9 @@ <h2 id="_default_values">14. Default values</h2>
.build()</code></pre>
</div>
</div>
<div class="paragraph">
<p>For the most common cases, there is no need to actually implement <code>IDefaultProvider</code>, as JCommander contains the classes <code>PropertyFileDefaultProvider</code> and <code>EnvironmentVariableDefaultProvider</code> for reading defaults from a property file (<code>jcommander.properties</code> by default) or from an environment variable (<code>JCOMMANDER_OPTS</code> by default).</p>
</div>
</div>
</div>
<div class="sect1">
Expand Down Expand Up @@ -2181,7 +2184,7 @@ <h2 id="_download">29. Download</h2>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-08-24 12:18:14 UTC
Last updated 2023-08-24 12:53:02 UTC
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prettify/r298/run_prettify.min.js"></script>
Expand Down

0 comments on commit 2aaf209

Please sign in to comment.