summaryrefslogtreecommitdiff
path: root/cli/args/flags.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-02-14 02:13:44 +0100
committerGitHub <noreply@github.com>2023-02-14 02:13:44 +0100
commit0f1349bca8d40dff23098e141363c956a8dd7875 (patch)
treedcf35d1e29081973134a7fc9bff2bf55b2ef098c /cli/args/flags.rs
parentbd6ddd9b469b01b3663bbd275b7b11f7ac6e1ec2 (diff)
feat: Deprecate 'deno bundle' subcommand (#17695)
This commit adds a deprecation warning when using "deno bundle" subcommand and removes it from the output of "deno help".
Diffstat (limited to 'cli/args/flags.rs')
-rw-r--r--cli/args/flags.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/args/flags.rs b/cli/args/flags.rs
index ee8ec2563..21a940dc5 100644
--- a/cli/args/flags.rs
+++ b/cli/args/flags.rs
@@ -767,6 +767,7 @@ glob {*_,*.,}bench.{js,mjs,ts,mts,jsx,tsx}:
fn bundle_subcommand<'a>() -> Command<'a> {
compile_args(Command::new("bundle"))
+ .hide(true)
.arg(
Arg::new("source_file")
.takes_value(true)