summaryrefslogtreecommitdiff
path: root/ext/websocket
diff options
context:
space:
mode:
Diffstat (limited to 'ext/websocket')
-rw-r--r--ext/websocket/autobahn/autobahn_server.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/websocket/autobahn/autobahn_server.js b/ext/websocket/autobahn/autobahn_server.js
index 73e32a60f..7400c8d54 100644
--- a/ext/websocket/autobahn/autobahn_server.js
+++ b/ext/websocket/autobahn/autobahn_server.js
@@ -1,7 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
-import { parse } from "@std/flags/mod.ts";
+import { parseArgs } from "@std/cli/parse-args";
-const { port } = parse(Deno.args, {
+const { port } = parseArgs(Deno.args, {
number: ["port"],
default: {
port: 6969,