diff options
Diffstat (limited to 'std/examples/flags.ts')
-rw-r--r-- | std/examples/flags.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/std/examples/flags.ts b/std/examples/flags.ts index 4625b8c96..d7f0fc650 100644 --- a/std/examples/flags.ts +++ b/std/examples/flags.ts @@ -1,7 +1,6 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -const { args } = Deno; import { parse } from "../flags/mod.ts"; if (import.meta.main) { - console.dir(parse(args)); + console.dir(parse(Deno.args)); } |