diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-01-24 03:40:49 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-23 17:40:49 +0100 |
commit | d1eed9896f1dee6974816f1c16c46a1c4de0120c (patch) | |
tree | d11de67d28024a6987c7b769802b03334477f7b7 /cli/args | |
parent | 18a235e6088a43411bbeca79bae8bcc646f72104 (diff) |
fix(BREAKING): remove dead `--prompt` flag (#22038)
It appears the `--prompt` flag has done nothing for some time. Perhaps,
since #13650. Classifying this as a dead functionality removal for this
reason.
Did this while working on #22021.
Diffstat (limited to 'cli/args')
-rw-r--r-- | cli/args/flags.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/cli/args/flags.rs b/cli/args/flags.rs index 114cd4551..707e28256 100644 --- a/cli/args/flags.rs +++ b/cli/args/flags.rs @@ -2729,15 +2729,6 @@ fn permission_args(app: Command) -> Command { .help(ALLOW_ALL_HELP), ) .arg( - Arg::new("prompt") - .long("prompt") - .action(ArgAction::SetTrue) - .hide(true) - .help( - "deprecated: Fallback to prompt if required permission wasn't passed", - ), - ) - .arg( Arg::new("no-prompt") .long("no-prompt") .action(ArgAction::SetTrue) |