diff options
author | zjopy <33468089+zjopy@users.noreply.github.com> | 2020-05-07 13:48:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-07 13:48:48 +0200 |
commit | 761b7efb3b8a140caad12803619a2e8a535cc178 (patch) | |
tree | c046d2fe25453713284e1670f10ceae05bac2673 /std/flags/mod.ts | |
parent | 34ec3b225425cecdccf754fbc87f4a8f3728890d (diff) |
fix(docs): add missing "deno run" (#5126)
Diffstat (limited to 'std/flags/mod.ts')
-rw-r--r-- | std/flags/mod.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/flags/mod.ts b/std/flags/mod.ts index 3afaf111f..0563dab61 100644 --- a/std/flags/mod.ts +++ b/std/flags/mod.ts @@ -18,11 +18,11 @@ export interface ArgParsingOptions { * import { parse } from "https://deno.land/std/flags/mod.ts"; * // options['--'] is now set to false * console.dir(parse(args, { "--": false })); - * // $ deno example.ts -- a arg1 + * // $ deno run example.ts -- a arg1 * // output: { _: [ "example.ts", "a", "arg1" ] } * // options['--'] is now set to true * console.dir(parse(args, { "--": true })); - * // $ deno example.ts -- a arg1 + * // $ deno run example.ts -- a arg1 * // output: { _: [ "example.ts" ], --: [ "a", "arg1" ] } * * Defaults to `false`. |