mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
fix: removed unstable-htttp from deno help (#25216)
Closes #25210 . Removed --unstable-http from being displayed on deno run --help=unstable --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
This commit is contained in:
parent
7e68cce815
commit
672ce3041a
6 changed files with 114 additions and 89 deletions
|
@ -100,9 +100,9 @@ pub fn op_bootstrap_unstable_args(state: &mut OpState) -> Vec<String> {
|
|||
}
|
||||
|
||||
let mut flags = Vec::new();
|
||||
for (name, _, id) in crate::UNSTABLE_GRANULAR_FLAGS.iter() {
|
||||
if options.unstable_features.contains(id) {
|
||||
flags.push(format!("--unstable-{}", name));
|
||||
for granular_flag in crate::UNSTABLE_GRANULAR_FLAGS.iter() {
|
||||
if options.unstable_features.contains(&granular_flag.id) {
|
||||
flags.push(format!("--unstable-{}", granular_flag.name));
|
||||
}
|
||||
}
|
||||
flags
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue