Commit cbc6f76
fix(cli): show valid approval policy values in --ask-for-approval help
Fixes bounty issue #1424
The --ask-for-approval flag now displays valid options (untrusted, on-failure,
on-request, never) in the help text using clap's value_parser attribute.
Invalid values are also rejected with a clear error message.
Also fixes formatting issues in the file.1 parent ed5982f commit cbc6f76
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments