summaryrefslogtreecommitdiffstats
path: root/src/tools/cargo/crates/mdman/tests/compare/options.md
blob: 51415b09e56e00d7fc06fb4122b8980ca015801b (plain)
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
# my-command(1)

## NAME

my-command - A brief description

## SYNOPSIS

`my-command` [`--abc` | `--xyz`] _name_\
`my-command` [`-f` _file_]\
`my-command` (`-m` | `-M`) [_oldbranch_] _newbranch_\
`my-command` (`-d` | `-D`) [`-r`] _branchname_...

## DESCRIPTION

A description of the command.

* One
    * Sub one
    * Sub two
* Two
* Three


## OPTIONS

### Command options

{{#options}}

{{#option "`--foo-bar`"}}
Demo *emphasis*, **strong**, ~~strike~~
{{/option}}

{{#option "`-p` _spec_" "`--package` _spec_"}}
This has multiple flags.
{{/option}}

{{#option "_named-arg..._"}}
A named argument.
{{/option}}

{{/options}}

### Common Options

{{> options-common}}

## EXAMPLES

1. An example

   ```
   my-command --abc
   ```

1. Another example

       my-command --xyz

## SEE ALSO
{{man "other-command" 1}} {{man "abc" 7}}