Skip to content

Commit a6c604d

Browse files
authored
fix(package): update tracking issue for --message-format (#15354)
Went ahead and created a new tracking issue <#15353>.
2 parents 280efd3 + a24066a commit a6c604d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Diff for: src/bin/cargo/commands/package.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ pub fn exec(gctx: &mut GlobalContext, args: &ArgMatches) -> CliResult {
8686

8787
let fmt = if let Some(fmt) = args._value_of("message-format") {
8888
gctx.cli_unstable()
89-
.fail_if_stable_opt("--message-format", 11666)?;
89+
.fail_if_stable_opt("--message-format", 15353)?;
9090
fmt.parse()?
9191
} else {
9292
PackageMessageFormat::Human

Diff for: src/doc/src/reference/unstable.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1892,7 +1892,8 @@ Specify which packages participate in [feature unification](../reference/feature
18921892

18931893
## Package message format
18941894

1895-
* Tracking Issue: [#11666](https://github.com/rust-lang/cargo/issues/11666)
1895+
* Original Issue: [#11666](https://github.com/rust-lang/cargo/issues/11666)
1896+
* Tracking Issue: [#15353](https://github.com/rust-lang/cargo/issues/15353)
18961897

18971898
The `--message-format` flag in `cargo package` controls the output message format.
18981899
Currently, it only works with the `--list` flag and affects the file listing format,

Diff for: tests/testsuite/package_message_format.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fn gated() {
2626
.with_status(101)
2727
.with_stderr_data(str![[r#"
2828
[ERROR] the `--message-format` flag is unstable, pass `-Z unstable-options` to enable it
29-
See https://github.com/rust-lang/cargo/issues/11666 for more information about the `--message-format` flag.
29+
See https://github.com/rust-lang/cargo/issues/15353 for more information about the `--message-format` flag.
3030
3131
"#]])
3232
.run();

0 commit comments

Comments
 (0)