Skip to content

Commit 140fc1d

Browse files
jneemtorhovland
authored andcommitted
Update the man page
1 parent 3140f53 commit 140fc1d

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

src/doc/man/cargo-package.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ cargo-package --- Assemble the local package into a distributable tarball
1515
## DESCRIPTION
1616

1717
This command will create a distributable, compressed `.crate` file with the
18-
source code of the package in the current directory. The resulting file will
18+
source code of the package in the current directory. When run in a workspace,
19+
this command will create one `.crate` file per crate. The resulting file(s) will
1920
be stored in the `target/package` directory. This performs the following
2021
steps:
2122

src/doc/man/generated_txt/cargo-package.txt

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ SYNOPSIS
99

1010
DESCRIPTION
1111
This command will create a distributable, compressed .crate file with
12-
the source code of the package in the current directory. The resulting
13-
file will be stored in the target/package directory. This performs the
14-
following steps:
12+
the source code of the package in the current directory. When run in a
13+
workspace, this command will create one .crate file per crate. The
14+
resulting file(s) will be stored in the target/package directory. This
15+
performs the following steps:
1516

1617
1. Load and check the current workspace, performing some basic checks.
1718
o Path dependencies are not allowed unless they have a version key.

src/doc/src/commands/cargo-package.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ cargo-package --- Assemble the local package into a distributable tarball
1010
## DESCRIPTION
1111

1212
This command will create a distributable, compressed `.crate` file with the
13-
source code of the package in the current directory. The resulting file will
13+
source code of the package in the current directory. When run in a workspace,
14+
this command will create one `.crate` file per crate. The resulting file(s) will
1415
be stored in the `target/package` directory. This performs the following
1516
steps:
1617

src/etc/man/cargo-package.1

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ cargo\-package \[em] Assemble the local package into a distributable tarball
99
\fBcargo package\fR [\fIoptions\fR]
1010
.SH "DESCRIPTION"
1111
This command will create a distributable, compressed \fB\&.crate\fR file with the
12-
source code of the package in the current directory. The resulting file will
12+
source code of the package in the current directory. When run in a workspace,
13+
this command will create one \fB\&.crate\fR file per crate. The resulting file(s) will
1314
be stored in the \fBtarget/package\fR directory. This performs the following
1415
steps:
1516
.sp

0 commit comments

Comments
 (0)