Skip to content

Commit 6926df5

Browse files
committed
docs(cli/uninstall): reflect multi-package remove with '-g' flag
1 parent a3e6b16 commit 6926df5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cli/args/flags.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2843,12 +2843,12 @@ Specific version requirements to update to can be specified:
28432843
fn uninstall_subcommand() -> Command {
28442844
command(
28452845
"uninstall",
2846-
cstr!("Uninstalls a dependency or an executable script in the installation root's bin directory.
2846+
cstr!("Uninstalls dependencies or an executable script in the installation root's bin directory.
28472847
<p(245)>deno uninstall @std/dotenv chalk</>
28482848
<p(245)>deno uninstall --global file_server</>
28492849
28502850
To change the installation root, use <c>--root</> flag:
2851-
<p(245)>deno uninstall --global --root /usr/local serve</>
2851+
<p(245)>deno uninstall --global --root /usr/local cowsay serve</>
28522852
28532853
The installation root is determined, in order of precedence:
28542854
- <p(245)>--root</> option
@@ -2870,7 +2870,7 @@ The installation root is determined, in order of precedence:
28702870
Arg::new("global")
28712871
.long("global")
28722872
.short('g')
2873-
.help("Remove globally installed package or module")
2873+
.help("Remove globally installed packages or modules")
28742874
.action(ArgAction::SetTrue),
28752875
)
28762876
.arg(

0 commit comments

Comments
 (0)