Commit de0dc15
authored
use -f to cf install-plugin (#1941)
If you copy/paste these three shell commands the effect won't be what
the user expects, as without the `-f` option the `install-plugin`
command will stop and prompt the user like this:
```shell
; cf add-plugin-repo CF-Community https://plugins.cloudfoundry.org
https://plugins.cloudfoundry.org already registered as CF-Community
# /work/scratch/debugtest
; cf install-plugin multiapps
Searching CF-Community for plugin multiapps...
Plugin multiapps 3.5.0 found in: CF-Community
Attention: Plugins are binaries written by potentially untrusted authors.
Install and use plugins at your own risk.
Do you want to install the plugin multiapps? [yN]: cf install-plugin html5-plugin
```
i.e. the 3rd line `cf install-plugin html5-plugin` will be presented as
the value at the "yN" prompt instead of being a separate command.
Using `-f` will bypass the prompt. I would say this is fine, it's what
the user wants anyway.1 parent fc727d4 commit de0dc15
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
| 123 | + | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
0 commit comments