summaryrefslogtreecommitdiff
path: root/cli/args
diff options
context:
space:
mode:
Diffstat (limited to 'cli/args')
-rw-r--r--cli/args/flags.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/cli/args/flags.rs b/cli/args/flags.rs
index 3b6810a95..0ce521296 100644
--- a/cli/args/flags.rs
+++ b/cli/args/flags.rs
@@ -301,7 +301,7 @@ pub struct VendorFlags {
pub struct PublishFlags {
pub token: Option<String>,
pub dry_run: bool,
- pub no_zap: bool,
+ pub allow_slow_types: bool,
}
#[derive(Clone, Debug, Eq, PartialEq)]
@@ -2389,9 +2389,9 @@ fn publish_subcommand() -> Command {
.action(ArgAction::SetTrue),
)
.arg(
- Arg::new("no-zap")
- .long("no-zap")
- .help("Skip Zap compatibility validation")
+ Arg::new("allow-slow-types")
+ .long("allow-slow-types")
+ .help("Allow publishing with slow types")
.action(ArgAction::SetTrue),
)
})
@@ -3828,7 +3828,7 @@ fn publish_parse(flags: &mut Flags, matches: &mut ArgMatches) {
flags.subcommand = DenoSubcommand::Publish(PublishFlags {
token: matches.remove_one("token"),
dry_run: matches.get_flag("dry-run"),
- no_zap: matches.get_flag("no-zap"),
+ allow_slow_types: matches.get_flag("allow-slow-types"),
});
}