From 3d65177dbcaf6d08c7e4a412beece8ee6939d466 Mon Sep 17 00:00:00 2001 From: tokiedokie Date: Sun, 4 Oct 2020 21:18:36 +0900 Subject: docs(std): version all imports in README (#7442) Use $STD_VERSION in std/ README files to automatically display proper version. --- std/flags/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'std/flags') 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 })); -- cgit v1.2.3