-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexamples.html
279 lines (259 loc) · 27.1 KB
/
examples.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Examples — argparse4j 0.9.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/classic.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="_static/default2.css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Migration" href="migration.html" />
<link rel="prev" title="The Argparse4j User Manual" href="usage.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="migration.html" title="Migration"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="usage.html" title="The Argparse4j User Manual"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">argparse4j 0.9.0 documentation</a> »</li>
<li class="nav-item nav-item-this"><a href="">Examples</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="examples">
<h1>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h1>
<div class="section" id="cjk-line-wrap-example">
<h2>CJK line-wrap example<a class="headerlink" href="#cjk-line-wrap-example" title="Permalink to this headline">¶</a></h2>
<p>Sub-set of options of <em class="manpage">ls(1)</em>. The help messages are from
Debian Linux:</p>
<div class="highlight-java notranslate"><div class="highlight"><pre><span></span><span class="kn">import static</span> <span class="nn">net.sourceforge.argparse4j.impl.Arguments.storeTrue</span><span class="p">;</span>
<span class="kn">import</span> <span class="nn">net.sourceforge.argparse4j.ArgumentParsers</span><span class="p">;</span>
<span class="kn">import</span> <span class="nn">net.sourceforge.argparse4j.inf.ArgumentParser</span><span class="p">;</span>
<span class="kn">import</span> <span class="nn">net.sourceforge.argparse4j.inf.ArgumentParserException</span><span class="p">;</span>
<span class="kn">import</span> <span class="nn">net.sourceforge.argparse4j.inf.Namespace</span><span class="p">;</span>
<span class="kd">public</span> <span class="kd">class</span> <span class="nc">LsHelpDemo</span> <span class="p">{</span>
<span class="kd">public</span> <span class="kd">static</span> <span class="kt">void</span> <span class="nf">main</span><span class="p">(</span><span class="n">String</span><span class="o">[]</span> <span class="n">args</span><span class="p">)</span> <span class="p">{</span>
<span class="n">ArgumentParser</span> <span class="n">parser</span> <span class="o">=</span> <span class="n">ArgumentParsers</span>
<span class="p">.</span><span class="na">newFor</span><span class="p">(</span><span class="s">"ls"</span><span class="p">)</span>
<span class="p">.</span><span class="na">build</span><span class="p">()</span>
<span class="p">.</span><span class="na">defaultHelp</span><span class="p">(</span><span class="kc">true</span><span class="p">)</span>
<span class="p">.</span><span class="na">description</span><span class="p">(</span>
<span class="s">"FILE に関する情報を一覧表示します (デフォルトは現在のディレクトリ)。\n"</span>
<span class="o">+</span> <span class="s">"-cftuvSUX または --sort が指定されない限り、要素はアルファベット順で並べ替えられます。"</span><span class="p">)</span>
<span class="p">.</span><span class="na">epilog</span><span class="p">(</span><span class="s">"SIZE は次のうちの一つです (整数の後に付加されるかもしれません):\n"</span>
<span class="o">+</span> <span class="s">"KB 1000, K 1024, MB 1000*1000, M 1024*1024, その他 G, T, P, E, Z, Y など。"</span><span class="p">);</span>
<span class="n">parser</span><span class="p">.</span><span class="na">addArgument</span><span class="p">(</span><span class="s">"-a"</span><span class="p">,</span> <span class="s">"--all"</span><span class="p">).</span><span class="na">help</span><span class="p">(</span><span class="s">". で始まる要素を無視しない"</span><span class="p">)</span>
<span class="p">.</span><span class="na">action</span><span class="p">(</span><span class="n">storeTrue</span><span class="p">());</span>
<span class="n">parser</span><span class="p">.</span><span class="na">addArgument</span><span class="p">(</span><span class="s">"-A"</span><span class="p">,</span> <span class="s">"--almost-all"</span><span class="p">).</span><span class="na">help</span><span class="p">(</span><span class="s">". および .. を一覧表示しない"</span><span class="p">)</span>
<span class="p">.</span><span class="na">action</span><span class="p">(</span><span class="n">storeTrue</span><span class="p">());</span>
<span class="n">parser</span><span class="p">.</span><span class="na">addArgument</span><span class="p">(</span><span class="s">"--author"</span><span class="p">).</span><span class="na">help</span><span class="p">(</span><span class="s">"-l と合わせて使用した時、各ファイルの作成者を表示する"</span><span class="p">)</span>
<span class="p">.</span><span class="na">action</span><span class="p">(</span><span class="n">storeTrue</span><span class="p">());</span>
<span class="n">parser</span><span class="p">.</span><span class="na">addArgument</span><span class="p">(</span><span class="s">"-b"</span><span class="p">,</span> <span class="s">"--escape"</span><span class="p">)</span>
<span class="p">.</span><span class="na">help</span><span class="p">(</span><span class="s">"表示不可能な文字の場合に C 形式のエスケープ文字を表示する"</span><span class="p">).</span><span class="na">action</span><span class="p">(</span><span class="n">storeTrue</span><span class="p">());</span>
<span class="n">parser</span><span class="p">.</span><span class="na">addArgument</span><span class="p">(</span><span class="s">"--block-size"</span><span class="p">)</span>
<span class="p">.</span><span class="na">type</span><span class="p">(</span><span class="n">Integer</span><span class="p">.</span><span class="na">class</span><span class="p">)</span>
<span class="p">.</span><span class="na">metavar</span><span class="p">(</span><span class="s">"SIZE"</span><span class="p">)</span>
<span class="p">.</span><span class="na">help</span><span class="p">(</span><span class="s">"SIZE の倍数として表示する。例: `--block-size=M' は"</span>
<span class="o">+</span> <span class="s">"表示する時に 1,048,576 バイトの倍数としてサイズを"</span>
<span class="o">+</span> <span class="s">"表示する。SIZE の形式は以下を参照)"</span><span class="p">);</span>
<span class="n">parser</span><span class="p">.</span><span class="na">addArgument</span><span class="p">(</span><span class="s">"-B"</span><span class="p">,</span> <span class="s">"--ignore-backups"</span><span class="p">).</span><span class="na">help</span><span class="p">(</span><span class="s">"~ で終了する要素を一覧表示しない"</span><span class="p">)</span>
<span class="p">.</span><span class="na">action</span><span class="p">(</span><span class="n">storeTrue</span><span class="p">());</span>
<span class="n">parser</span><span class="p">.</span><span class="na">addArgument</span><span class="p">(</span><span class="s">"-c"</span><span class="p">)</span>
<span class="p">.</span><span class="na">help</span><span class="p">(</span><span class="s">"-lt と使用した場合: ctime (ファイル状態情報を変更した時間)で並べ替えて表示する\n"</span>
<span class="o">+</span> <span class="s">"-l と使用した場合: 名前で並べ替えて ctime を表示する\n"</span>
<span class="o">+</span> <span class="s">"それ以外: ctime で新しい順に並べ替える)"</span><span class="p">).</span><span class="na">action</span><span class="p">(</span><span class="n">storeTrue</span><span class="p">());</span>
<span class="n">parser</span><span class="p">.</span><span class="na">addArgument</span><span class="p">(</span><span class="s">"-C"</span><span class="p">).</span><span class="na">help</span><span class="p">(</span><span class="s">"要素を列ごとに並べる"</span><span class="p">).</span><span class="na">action</span><span class="p">(</span><span class="n">storeTrue</span><span class="p">());</span>
<span class="n">parser</span><span class="p">.</span><span class="na">addArgument</span><span class="p">(</span><span class="s">"--color"</span><span class="p">)</span>
<span class="p">.</span><span class="na">nargs</span><span class="p">(</span><span class="s">"?"</span><span class="p">)</span>
<span class="p">.</span><span class="na">choices</span><span class="p">(</span><span class="s">"always"</span><span class="p">,</span> <span class="s">"never"</span><span class="p">,</span> <span class="s">"auto"</span><span class="p">)</span>
<span class="p">.</span><span class="na">metavar</span><span class="p">(</span><span class="s">"WHEN"</span><span class="p">)</span>
<span class="p">.</span><span class="na">setDefault</span><span class="p">(</span><span class="s">"always"</span><span class="p">)</span>
<span class="p">.</span><span class="na">help</span><span class="p">(</span><span class="s">"カラー出力をする。 WHEN のデフォルト値は `always'、"</span>
<span class="o">+</span> <span class="s">"`never' または `auto'。詳細は下部を参照)"</span><span class="p">);</span>
<span class="n">parser</span><span class="p">.</span><span class="na">addArgument</span><span class="p">(</span><span class="s">"file"</span><span class="p">).</span><span class="na">nargs</span><span class="p">(</span><span class="s">"*"</span><span class="p">);</span>
<span class="n">Namespace</span> <span class="n">res</span><span class="p">;</span>
<span class="k">try</span> <span class="p">{</span>
<span class="n">res</span> <span class="o">=</span> <span class="n">parser</span><span class="p">.</span><span class="na">parseArgs</span><span class="p">(</span><span class="n">args</span><span class="p">);</span>
<span class="n">System</span><span class="p">.</span><span class="na">out</span><span class="p">.</span><span class="na">println</span><span class="p">(</span><span class="n">res</span><span class="p">);</span>
<span class="p">}</span> <span class="k">catch</span> <span class="p">(</span><span class="n">ArgumentParserException</span> <span class="n">e</span><span class="p">)</span> <span class="p">{</span>
<span class="n">parser</span><span class="p">.</span><span class="na">handleError</span><span class="p">(</span><span class="n">e</span><span class="p">);</span>
<span class="n">System</span><span class="p">.</span><span class="na">exit</span><span class="p">(</span><span class="mi">1</span><span class="p">);</span>
<span class="p">}</span>
<span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>java LsHelpDemo -h
<span class="go">usage: ls [-h] [-a] [-A] [--author] [-b] [--block-size SIZE] [-B] [-c] [-C]</span>
<span class="go"> [--color [WHEN]] [file [file ...]]</span>
<span class="go">FILE に関する情報を一覧表示します (デフォルトは現在のディレクトリ)。</span>
<span class="go">-cftuvSUX または --sort が指定されない限り、要素はアルファベット順で並べ替</span>
<span class="go">えられます。</span>
<span class="go">positional arguments:</span>
<span class="go"> file</span>
<span class="go">named arguments:</span>
<span class="go"> -h, --help show this help message and exit</span>
<span class="go"> -a, --all . で始まる要素を無視しない (default: false)</span>
<span class="go"> -A, --almost-all . および .. を一覧表示しない (default: false)</span>
<span class="go"> --author -l と合わせて使用した時、各ファイルの作成者を表示</span>
<span class="go"> する (default: false)</span>
<span class="go"> -b, --escape 表示不可能な文字の場合に C 形式のエスケープ文字を</span>
<span class="go"> 表示する (default: false)</span>
<span class="go"> --block-size SIZE SIZE の倍数として表示する。例: `--block-size=M' は</span>
<span class="go"> 表示する時に 1,048,576 バイトの倍数としてサイズを</span>
<span class="go"> 表示する。SIZE の形式は以下を参照)</span>
<span class="go"> -B, --ignore-backups ~ で終了する要素を一覧表示しない (default: false)</span>
<span class="go"> -c -lt と使用した場合: ctime (ファイル状態情報を変更</span>
<span class="go"> した時間)で並べ替えて表示する</span>
<span class="go"> -l と使用した場合: 名前で並べ替えて ctime を表示す</span>
<span class="go"> る</span>
<span class="go"> それ以外: ctime で新しい順に並べ替える) (default:</span>
<span class="go"> false)</span>
<span class="go"> -C 要素を列ごとに並べる (default: false)</span>
<span class="go"> --color [WHEN] カラー出力をする。 WHEN のデフォルト値は</span>
<span class="go"> `always'、`never' または `auto'。詳細は下部を参</span>
<span class="go"> 照) (default: always)</span>
<span class="go">SIZE は次のうちの一つです (整数の後に付加されるかもしれません):</span>
<span class="go">KB 1000, K 1024, MB 1000*1000, M 1024*1024, その他 G, T, P, E, Z, Y など。</span>
</pre></div>
</div>
</div>
<div class="section" id="clojure-example">
<h2>Clojure example<a class="headerlink" href="#clojure-example" title="Permalink to this headline">¶</a></h2>
<div class="highlight-clojure notranslate"><div class="highlight"><pre><span></span><span class="p">(</span><span class="kd">ns </span><span class="nv">argparse4j-demo</span>
<span class="p">(</span><span class="ss">:import</span> <span class="p">(</span><span class="nf">net.sourceforge.argparse4j</span> <span class="nv">ArgumentParsers</span><span class="p">)</span>
<span class="p">(</span><span class="nf">net.sourceforge.argparse4j.impl</span> <span class="nv">Arguments</span><span class="p">)</span>
<span class="p">(</span><span class="nf">net.sourceforge.argparse4j.inf</span> <span class="nv">ArgumentParserException</span><span class="p">)))</span>
<span class="c1">;; Helper function to convert closure list to array</span>
<span class="p">(</span><span class="kd">defn </span><span class="nv">va</span> <span class="p">[</span><span class="o">&</span> <span class="nv">name-and-flags</span><span class="p">]</span>
<span class="p">(</span><span class="nb">into-array </span><span class="nv">name-and-flags</span><span class="p">))</span>
<span class="p">(</span><span class="k">def </span><span class="nv">apb</span> <span class="p">(</span><span class="k">. </span><span class="nv">ArgumentParsers</span> <span class="nv">newFor</span>
<span class="s">"java -cp clojure.jar clojure.main"</span><span class="p">))</span>
<span class="p">(</span><span class="k">def </span><span class="nv">ap</span> <span class="p">(</span><span class="k">. </span><span class="nv">apb</span> <span class="nv">build</span><span class="p">))</span>
<span class="p">(</span><span class="k">let </span><span class="p">[</span><span class="nv">group</span> <span class="p">(</span><span class="k">. </span><span class="nv">ap</span> <span class="nv">addArgumentGroup</span> <span class="s">"init options"</span><span class="p">)]</span>
<span class="p">(</span><span class="nb">doto </span><span class="p">(</span><span class="k">. </span><span class="nv">group</span> <span class="nv">addArgument</span> <span class="p">(</span><span class="nf">va</span> <span class="s">"-i"</span> <span class="s">"--init"</span><span class="p">))</span>
<span class="p">(</span><span class="nf">.metavar</span> <span class="p">(</span><span class="nf">va</span> <span class="s">"path"</span><span class="p">))</span>
<span class="p">(</span><span class="nf">.help</span> <span class="s">"Load a file or resource"</span><span class="p">))</span>
<span class="p">(</span><span class="nb">doto </span><span class="p">(</span><span class="k">. </span><span class="nv">group</span> <span class="nv">addArgument</span> <span class="p">(</span><span class="nf">va</span> <span class="s">"-e"</span> <span class="s">"--eval"</span><span class="p">))</span>
<span class="p">(</span><span class="nf">.metavar</span> <span class="p">(</span><span class="nf">va</span> <span class="s">"string"</span><span class="p">))</span>
<span class="p">(</span><span class="nf">.help</span> <span class="s">"Evaluate expressions in string; print non-nil values"</span><span class="p">)))</span>
<span class="p">(</span><span class="k">let </span><span class="p">[</span><span class="nv">group</span> <span class="p">(</span><span class="k">. </span><span class="nv">ap</span> <span class="nv">addArgumentGroup</span> <span class="s">"main options"</span><span class="p">)]</span>
<span class="p">(</span><span class="nb">doto </span><span class="p">(</span><span class="k">. </span><span class="nv">group</span> <span class="nv">addArgument</span> <span class="p">(</span><span class="nf">va</span> <span class="s">"-m"</span> <span class="s">"--main"</span><span class="p">))</span>
<span class="p">(</span><span class="nf">.metavar</span> <span class="p">(</span><span class="nf">va</span> <span class="s">"ns-name"</span><span class="p">))</span>
<span class="p">(</span><span class="nf">.help</span> <span class="s">"Call the -main function from a namespace with args"</span><span class="p">))</span>
<span class="p">(</span><span class="nb">doto </span><span class="p">(</span><span class="k">. </span><span class="nv">group</span> <span class="nv">addArgument</span> <span class="p">(</span><span class="nf">va</span> <span class="s">"-r"</span> <span class="s">"--repl"</span><span class="p">))</span>
<span class="p">(</span><span class="nf">.action</span> <span class="p">(</span><span class="k">. </span><span class="nv">Arguments</span> <span class="nv">storeTrue</span><span class="p">))</span>
<span class="p">(</span><span class="nf">.help</span> <span class="s">"Run a repl"</span><span class="p">))</span>
<span class="p">(</span><span class="nb">doto </span><span class="p">(</span><span class="k">. </span><span class="nv">group</span> <span class="nv">addArgument</span> <span class="p">(</span><span class="nf">va</span> <span class="s">"path"</span><span class="p">))</span>
<span class="p">(</span><span class="nf">.help</span> <span class="p">(</span><span class="nb">str </span><span class="s">"Run a script from a file or resource;"</span>
<span class="s">" use '-' to read from standard input"</span><span class="p">))))</span>
<span class="p">(</span><span class="nf">try</span>
<span class="p">(</span><span class="nb">println </span><span class="p">(</span><span class="k">. </span><span class="nv">ap</span> <span class="nv">parseArgs</span> <span class="p">(</span><span class="nb">into-array </span><span class="nv">String</span> <span class="nv">*command-line-args*</span><span class="p">)))</span>
<span class="p">(</span><span class="nf">catch</span> <span class="nv">RuntimeException</span> <span class="nv">e</span>
<span class="p">(</span><span class="k">if </span><span class="p">(</span><span class="nb">instance? </span><span class="nv">ArgumentParserException</span> <span class="p">(</span><span class="k">. </span><span class="nv">e</span> <span class="nv">getCause</span><span class="p">))</span>
<span class="p">(</span><span class="k">. </span><span class="nv">ap</span> <span class="nv">handleError</span> <span class="p">(</span><span class="k">. </span><span class="nv">e</span> <span class="nv">getCause</span><span class="p">))</span>
<span class="p">(</span><span class="k">. </span><span class="nv">e</span> <span class="nv">printStackTrace</span><span class="p">))</span>
<span class="p">(</span><span class="k">. </span><span class="nv">System</span> <span class="nv">exit</span> <span class="mi">1</span><span class="p">)))</span>
</pre></div>
</div>
<p>With Closure, use <code class="xref docutils literal notranslate"><span class="pre">Long</span></code> type instead of <code class="xref docutils literal notranslate"><span class="pre">Integer</span></code>
if you use <code class="xref docutils literal notranslate"><a class="reference external" href="apidocs/net/sourceforge/argparse4j/inf/Argument.html#choices(E...)"><span class="pre">Argument.choices()</span></a></code> with integer constants:</p>
<div class="highlight-clojure notranslate"><div class="highlight"><pre><span></span><span class="p">(</span><span class="k">def </span><span class="nv">apb</span> <span class="p">(</span><span class="k">. </span><span class="nv">ArgumentParsers</span> <span class="nv">newFor</span> <span class="s">"hello"</span><span class="p">))</span>
<span class="p">(</span><span class="k">def </span><span class="nv">ap</span> <span class="p">(</span><span class="k">. </span><span class="nv">apb</span> <span class="nv">build</span><span class="p">))</span>
<span class="p">(</span><span class="nb">doto </span><span class="p">(</span><span class="k">. </span><span class="nv">ap</span> <span class="nv">addArgument</span> <span class="p">(</span><span class="nf">va</span> <span class="s">"-i"</span><span class="p">))</span>
<span class="p">(</span><span class="nf">.type</span> <span class="nv">Long</span><span class="p">)</span>
<span class="p">(</span><span class="nf">.choices</span> <span class="p">[</span><span class="mi">1</span> <span class="mi">2</span> <span class="mi">3</span><span class="p">])</span>
<span class="p">(</span><span class="nf">.action</span> <span class="p">(</span><span class="k">. </span><span class="nv">Arguments</span> <span class="nv">append</span><span class="p">)))</span>
</pre></div>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper"><h3>Menu</h3>
<ul>
<li><a href="https://github.com/argparse4j/argparse4j/releases">Download</a></li>
<li><a href="http://sourceforge.net/projects/argparse4j/files/">Download (~0.5.0)</a></li>
<li><a href="https://github.com/argparse4j/argparse4j">Source Code</a></li>
<li><a href="https://github.com/argparse4j/argparse4j/issues">Issues</a></li>
<li><a href="usage.html">Usage</a></li>
<li><a href="examples.html">Examples</a></li>
<li><a href="project-info.html">Project Information</a></li>
<li><a href="apidocs/index.html">JavaDocs</a></li>
</ul>
<h3><a href="index.html">Table of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">Examples</a><ul>
<li><a class="reference internal" href="#cjk-line-wrap-example">CJK line-wrap example</a></li>
<li><a class="reference internal" href="#clojure-example">Clojure example</a></li>
</ul>
</li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="usage.html"
title="previous chapter">The Argparse4j User Manual</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="migration.html"
title="next chapter">Migration</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/examples.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" />
<input type="submit" value="Go" />
</form>
</div>
</div>
<script>$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="migration.html" title="Migration"
>next</a> |</li>
<li class="right" >
<a href="usage.html" title="The Argparse4j User Manual"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">argparse4j 0.9.0 documentation</a> »</li>
<li class="nav-item nav-item-this"><a href="">Examples</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
© Copyright 2011, 2015, Tatsuhiro Tsujikawa.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 3.5.1.
</div>
</body>
</html>