mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
2.3 KiB
2.3 KiB
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
--foo-bar
- Demo emphasis, strong,
strike -p
spec--package
spec- This has multiple flags.
- named-arg…
- A named argument.
Common Options
@
filename- Load from filename.
--foo
[bar]- Flag with optional value.
--foo
[=
bar]- Alternate syntax for optional value (with required = for disambiguation).
--split-block
- An option where the description has a
block statement that is split across multiple lines
EXAMPLES
-
An example
my-command --abc
-
Another example
my-command --xyz