summaryrefslogtreecommitdiff
path: root/std/flags/mod.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/flags/mod.ts')
-rw-r--r--std/flags/mod.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/std/flags/mod.ts b/std/flags/mod.ts
index 5c8fcc0d9..a961e6c68 100644
--- a/std/flags/mod.ts
+++ b/std/flags/mod.ts
@@ -15,11 +15,10 @@ export interface ArgParsingOptions {
* the result `['--']` with everything after the `--`. Here's an example:
*
* // $ deno run example.ts -- a arg1
- * const { args } = Deno;
* import { parse } from "https://deno.land/std/flags/mod.ts";
- * console.dir(parse(args, { "--": false }));
+ * console.dir(parse(Deno.args, { "--": false }));
* // output: { _: [ "a", "arg1" ] }
- * console.dir(parse(args, { "--": true }));
+ * console.dir(parse(Deno.args, { "--": true }));
* // output: { _: [], --: [ "a", "arg1" ] }
*
* Defaults to `false`.