diff options
author | Marvin Hagemeister <marvin@deno.com> | 2024-10-16 18:57:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-16 16:57:30 +0000 |
commit | 4385020d14cc1f2523cadec7e19011845edd8393 (patch) | |
tree | cdcb6a44fbd4e4fdd3b5fc653f9e9d797ea0cee5 /cli/args | |
parent | e515f3dd0ea61bb3001e98ad7733ccb67c341f1e (diff) |
fix(cli): add prefix to install commands in help (#26318)
Some `deno add` and `deno install` example usage commands didn't have
the `jsr:` or `npm:` prefixes.
---------
Signed-off-by: Marvin Hagemeister <marvinhagemeister50@gmail.com>
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/args')
-rw-r--r-- | cli/args/flags.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/args/flags.rs b/cli/args/flags.rs index 7b0cee5bd..b92e5dd94 100644 --- a/cli/args/flags.rs +++ b/cli/args/flags.rs @@ -1659,10 +1659,10 @@ fn add_subcommand() -> Command { "add", cstr!( "Add dependencies to your configuration file. - <p(245)>deno add @std/path</> + <p(245)>deno add jsr:@std/path</> You can add multiple dependencies at once: - <p(245)>deno add @std/path @std/assert</>" + <p(245)>deno add jsr:@std/path jsr:@std/assert</>" ), UnstableArgsConfig::None, ) @@ -2470,7 +2470,7 @@ in the package cache. If no dependency is specified, installs all dependencies l If the <p(245)>--entrypoint</> flag is passed, installs the dependencies of the specified entrypoint(s). <p(245)>deno install</> - <p(245)>deno install @std/bytes</> + <p(245)>deno install jsr:@std/bytes</> <p(245)>deno install npm:chalk</> <p(245)>deno install --entrypoint entry1.ts entry2.ts</> |