summaryrefslogtreecommitdiff
path: root/cli/args/flags.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/args/flags.rs')
-rw-r--r--cli/args/flags.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/args/flags.rs b/cli/args/flags.rs
index 200e498c0..114cd4551 100644
--- a/cli/args/flags.rs
+++ b/cli/args/flags.rs
@@ -1561,7 +1561,7 @@ This command has implicit access to all permissions (--allow-all).",
.conflicts_with("ext")
.long("ts")
.short('T')
- .help("deprecated: Treat eval input as TypeScript")
+ .help("deprecated: Use `--ext=ts` instead. The `--ts` and `-T` flags are deprecated and will be removed in Deno 2.0.")
.action(ArgAction::SetTrue)
.hide(true),
)
@@ -3411,9 +3411,9 @@ fn eval_parse(flags: &mut Flags, matches: &mut ArgMatches) {
if as_typescript {
eprintln!(
- "{}",
+ "⚠️ {}",
crate::colors::yellow(
- "Warning: --ts/-T flag is deprecated. Use --ext=ts instead."
+ "Use `--ext=ts` instead. The `--ts` and `-T` flags are deprecated and will be removed in Deno 2.0."
),
);