summaryrefslogtreecommitdiff
path: root/cli/args/flags.rs
diff options
context:
space:
mode:
authori-api <87678394+i-api@users.noreply.github.com>2024-08-02 09:38:15 -0400
committerGitHub <noreply@github.com>2024-08-02 13:38:15 +0000
commit2aad92c30b327b9db352e8a2c024671205eed9f6 (patch)
tree7d9afb96dc76c6051009179d952cea9d79f87f72 /cli/args/flags.rs
parent84ff4182652d55c52391542000d8bb3ad22a4935 (diff)
fix(cli): shorten examples in help text (#24374)
Diffstat (limited to 'cli/args/flags.rs')
-rw-r--r--cli/args/flags.rs14
1 files changed, 4 insertions, 10 deletions
diff --git a/cli/args/flags.rs b/cli/args/flags.rs
index e8e363d79..6affa9f08 100644
--- a/cli/args/flags.rs
+++ b/cli/args/flags.rs
@@ -1141,17 +1141,11 @@ Standard Library: https://jsr.io/@std
Modules: https://jsr.io/ https://deno.land/x/
Bugs: https://github.com/denoland/deno/issues
-To start the REPL:
- <g>deno</>
-
-To execute a script:
-
- <g>deno run https://examples.deno.land/hello-world.ts</>
-
-To evaluate code in the shell:
-
- <g>deno eval \"console.log(30933 + 404)\"</>
+Deno by Example: https://docs.deno.com/examples
+ Start the REPL: <g>deno</>
+ Execute a script: <g>deno run https://examples.deno.land/hello-world.ts</>
+ Evaluate code in the shell: <g>deno eval \"console.log(30933 + 404)\"</>
"
)
);