Skip to content

Commit

Permalink
fix(cli): Fix typo in doc subcommand help output (#26321)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckrassow authored Nov 21, 2024
1 parent e515ed2 commit 3f3568b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/args/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ static DENO_HELP: &str = cstr!(
<g>compile</> Compile the script into a self contained executable
<p(245)>deno compile main.ts | deno compile --target=x86_64-unknown-linux-gnu</>
<g>coverage</> Print coverage reports
<g>doc</> Genereate and show documentation for a module or built-ins
<g>doc</> Generate and show documentation for a module or built-ins
<p(245)>deno doc | deno doc --json | deno doc --html mod.ts</>
<g>fmt</> Format source files
<p(245)>deno fmt | deno fmt main.ts</>
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/flags_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fn help_output() {
"Type-check the dependencies",
"Compile the script into a self contained executable",
"Print coverage reports",
"Genereate and show documentation for a module or built-ins",
"Generate and show documentation for a module or built-ins",
"Format source files",
"Show info about cache or info related to source file",
"Deno kernel for Jupyter notebooks",
Expand Down

0 comments on commit 3f3568b

Please sign in to comment.