-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #10318.
- Loading branch information
Showing
2 changed files
with
128 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
``` | ||
% 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> | ||
``` |