diff options
author | tokiedokie <thetokiedokie@gmail.com> | 2020-10-04 21:18:36 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 14:18:36 +0200 |
commit | 3d65177dbcaf6d08c7e4a412beece8ee6939d466 (patch) | |
tree | 53b5954f612daa559f8e893471083f854ea63464 /std/flags | |
parent | ec963238230c7f92a29da27ced0a2ec706af92d0 (diff) |
docs(std): version all imports in README (#7442)
Use $STD_VERSION in std/ README files to automatically
display proper version.
Diffstat (limited to 'std/flags')
-rw-r--r-- | std/flags/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/flags/README.md b/std/flags/README.md index 80b05549d..7b8e508d4 100644 --- a/std/flags/README.md +++ b/std/flags/README.md @@ -5,7 +5,7 @@ Command line arguments parser for Deno based on minimist. # Example ```ts -import { parse } from "https://deno.land/std/flags/mod.ts"; +import { parse } from "https://deno.land/std@$STD_VERSION/flags/mod.ts"; console.dir(parse(Deno.args)); ``` @@ -56,7 +56,7 @@ options can be: example: ```ts // $ deno run example.ts -- a arg1 - import { parse } from "https://deno.land/std/flags/mod.ts"; + import { parse } from "https://deno.land/std@$STD_VERSION/flags/mod.ts"; console.dir(parse(Deno.args, { "--": false })); // output: { _: [ "a", "arg1" ] } console.dir(parse(Deno.args, { "--": true })); |