mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 01:41:20 +08:00
cd5dab1874
Closes #10318.
85 lines
2.1 KiB
Markdown
85 lines
2.1 KiB
Markdown
```
|
|
% pandoc -f rst -t html5
|
|
-a Output all.
|
|
-c arg Output just arg.
|
|
--long Output all day long.
|
|
/V A VMS/DOS-style option.
|
|
|
|
-p This option has two paragraphs in the description.
|
|
This is the first.
|
|
|
|
This is the second.
|
|
Blank lines may be omitted between options
|
|
(as above) or left in (as here and below).
|
|
|
|
--very-long-option A VMS-style option. Note the adjustment
|
|
for the required two spaces.
|
|
|
|
--an-even-longer-option
|
|
The description can also start on the next line.
|
|
|
|
-2, --two This option has two variants.
|
|
|
|
-f FILE, --file=FILE These two options are synonyms; both have
|
|
arguments.
|
|
|
|
-f <[path]file> Option argument placeholders must start with
|
|
a letter or be wrapped in angle brackets.
|
|
|
|
-d <src dest> Angle brackets are also required if an option
|
|
expects more than one argument.
|
|
^D
|
|
<dl>
|
|
<dt><code>-a</code></dt>
|
|
<dd>
|
|
<p>Output all.</p>
|
|
</dd>
|
|
<dt><code>-c arg</code></dt>
|
|
<dd>
|
|
<p>Output just arg.</p>
|
|
</dd>
|
|
<dt><code>--long</code></dt>
|
|
<dd>
|
|
<p>Output all day long.</p>
|
|
</dd>
|
|
<dt><code>/V</code></dt>
|
|
<dd>
|
|
<p>A VMS/DOS-style option.</p>
|
|
</dd>
|
|
<dt><code>-p</code></dt>
|
|
<dd>
|
|
<p>This option has two paragraphs in the description. This is the
|
|
first.</p>
|
|
<p>This is the second. Blank lines may be omitted between options (as
|
|
above) or left in (as here and below).</p>
|
|
</dd>
|
|
<dt><code>--very-long-option</code></dt>
|
|
<dd>
|
|
<p>A VMS-style option. Note the adjustment for the required two
|
|
spaces.</p>
|
|
</dd>
|
|
<dt><code>--an-even-longer-option</code></dt>
|
|
<dd>
|
|
<p>The description can also start on the next line.</p>
|
|
</dd>
|
|
<dt><code>-2, --two</code></dt>
|
|
<dd>
|
|
<p>This option has two variants.</p>
|
|
</dd>
|
|
<dt><code>-f FILE, --file=FILE</code></dt>
|
|
<dd>
|
|
<p>These two options are synonyms; both have arguments.</p>
|
|
</dd>
|
|
<dt><code>-f <[path]file></code></dt>
|
|
<dd>
|
|
<p>Option argument placeholders must start with a letter or be wrapped
|
|
in angle brackets.</p>
|
|
</dd>
|
|
<dt><code>-d <src dest></code></dt>
|
|
<dd>
|
|
<p>Angle brackets are also required if an option expects more than one
|
|
argument.</p>
|
|
</dd>
|
|
</dl>
|
|
```
|