summaryrefslogtreecommitdiff
path: root/cli/args/flags.rs
diff options
context:
space:
mode:
authorMujahedSafaa <168719085+MujahedSafaa@users.noreply.github.com>2024-10-01 16:24:12 +0300
committerGitHub <noreply@github.com>2024-10-01 13:24:12 +0000
commit29104384c4cb5aab082749382802560907ebec42 (patch)
treea8c4523280044fadf167ba83c0e69f24cec3c4e0 /cli/args/flags.rs
parentc487a86b04dc1b638d204fa4f528fb0b832859ba (diff)
fix: remove the typo in the help message (#25962)
This PR fixes: https://github.com/denoland/deno/issues/25274 Remove the extra shorthand -S that attached to the --deny-sys.
Diffstat (limited to 'cli/args/flags.rs')
-rw-r--r--cli/args/flags.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/args/flags.rs b/cli/args/flags.rs
index 25634f384..6caef29d9 100644
--- a/cli/args/flags.rs
+++ b/cli/args/flags.rs
@@ -3273,7 +3273,7 @@ fn permission_args(app: Command, requires: Option<&'static str>) -> Command {
<p(245)>--deny-net | --deny-net="localhost:8080,deno.land"</>
<g> --deny-env[=<<VARIABLE_NAME>...]</> Deny access to environment variables. Optionally specify inacessible environment variables.
<p(245)>--deny-env | --deny-env="PORT,HOME,PATH"</>
- <g>-S, --deny-sys[=<<API_NAME>...]</> Deny access to OS information. Optionally deny specific APIs by function name.
+ <g> --deny-sys[=<<API_NAME>...]</> Deny access to OS information. Optionally deny specific APIs by function name.
<p(245)>--deny-sys | --deny-sys="systemMemoryInfo,osRelease"</>
<g>--deny-run[=<<PROGRAM_NAME>...]</> Deny running subprocesses. Optionally specify denied runnable program names.
<p(245)>--deny-run | --deny-run="whoami,ps"</>