Skip to content

Commit

Permalink
docs(console): Update docstrings for install and uninstall (#26623)
Browse files Browse the repository at this point in the history
When running `deno -h` then `install` and `uninstall` scripts had
description since deno 1 times :)
  • Loading branch information
McSneaky authored and bartlomieju committed Nov 5, 2024
1 parent b7c282d commit f51f192
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cli/args/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1179,8 +1179,8 @@ static DENO_HELP: &str = cstr!(
<y>Dependency management:</>
<g>add</> Add dependencies
<p(245)>deno add jsr:@std/assert | deno add npm:express</>
<g>install</> Install script as an executable
<g>uninstall</> Uninstall a script previously installed with deno install
<g>install</> Installs dependencies either in the local project or globally to a bin directory
<g>uninstall</> Uninstalls a dependency or an executable script in the installation root's bin directory
<g>remove</> Remove dependencies from the configuration file
<y>Tooling:</>
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/flags_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ fn help_output() {
"Start an interactive Read-Eval-Print Loop (REPL) for Deno",
"Evaluate a script from the command line",
"Add dependencies",
"Install script as an executable",
"Uninstall a script previously installed with deno install",
"Installs dependencies either in the local project or globally to a bin directory",
"Uninstalls a dependency or an executable script in the installation root's bin directory",
"Run benchmarks",
"Type-check the dependencies",
"Compile the script into a self contained executable",
Expand Down

0 comments on commit f51f192

Please sign in to comment.