Skip to content

Commit 191de7d

Browse files
author
Ryan B.
authored
fix(cli): Unhide publish subcommand help string (#24787)
Fixes #24753 The help text for `deno publish` was marked hidden while in preview. This is no longer a preview feature.
1 parent 38a363d commit 191de7d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cli/args/flags.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2845,7 +2845,7 @@ fn vendor_subcommand() -> Command {
28452845
.long_about(
28462846
"⚠️ Warning: `deno vendor` is deprecated and will be removed in Deno 2.0.
28472847
Add `\"vendor\": true` to your `deno.json` or use the `--vendor` flag instead.
2848-
2848+
28492849
Vendor remote modules into a local directory.
28502850
28512851
Analyzes the provided modules along with their dependencies, downloads
@@ -2894,8 +2894,7 @@ Remote modules and multiple modules may also be specified:
28942894

28952895
fn publish_subcommand() -> Command {
28962896
Command::new("publish")
2897-
.hide(true)
2898-
.about("Unstable preview feature: Publish the current working directory's package or workspace")
2897+
.about("Publish the current working directory's package or workspace")
28992898
// TODO: .long_about()
29002899
.defer(|cmd| {
29012900
cmd.arg(

0 commit comments

Comments
 (0)