diff --git a/src/bin/cargo/cli.rs b/src/bin/cargo/cli.rs
index 70bc511608e..e24f583f17f 100644
--- a/src/bin/cargo/cli.rs
+++ b/src/bin/cargo/cli.rs
@@ -43,6 +43,7 @@ Available unstable (nightly-only) flags:
-Z doctest-xcompile -- Compile and run doctests for non-host target using runner config
-Z terminal-width -- Provide a terminal width to rustc for error truncation
-Z namespaced-features -- Allow features with `dep:` prefix
+ -Z weak-dep-features -- Allow `dep_name?/feature` feature syntax
Run with 'cargo -Z [FLAG] [SUBCOMMAND]'"
);
diff --git a/src/cargo/core/features.rs b/src/cargo/core/features.rs
index 5d3aa4db8cf..f2e5d957728 100644
--- a/src/cargo/core/features.rs
+++ b/src/cargo/core/features.rs
@@ -358,6 +358,7 @@ pub struct CliUnstable {
pub rustdoc_map: bool,
pub terminal_width: Option