Skip to content

Commit 02f28b1

Browse files
committed
Improve README
1 parent b262c24 commit 02f28b1

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,20 @@ Currently, it allows you to:
1616

1717
## Installation
1818

19+
### Installation via CF Community Repository
20+
21+
Make sure you have the CF Community plugin repository configured (or add it via
22+
`cf add-plugin-repo CF-Community http://plugins.cloudfoundry.org`)
23+
24+
Trigger installation of the plugin via
25+
26+
```sh
27+
cf install-plugin java
28+
```
29+
30+
The releases in the community repository are older than the actual releases on GitHub, that you can install manually, so
31+
we recommend the manual installation.
32+
1933
### Manual Installation
2034

2135
Download the latest release from [GitHub](https://github.com/SAP/cf-cli-java-plugin/releases/latest).
@@ -33,20 +47,6 @@ cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/latest/down
3347

3448
You can verify that the plugin is successfully installed by looking for `java` in the output of `cf plugins`.
3549

36-
### Installation via CF Community Repository
37-
38-
Make sure you have the CF Community plugin repository configured (or add it via
39-
`cf add-plugin-repo CF-Community http://plugins.cloudfoundry.org`)
40-
41-
Trigger installation of the plugin via
42-
43-
```sh
44-
cf install-plugin java
45-
```
46-
47-
The releases in the community repository are older than the actual releases on GitHub, that you can install manually, so
48-
we recommend the manual installation.
49-
5050
### Manual Installation of Snapshot Release
5151

5252
Download the current snapshot release from [GitHub](https://github.com/SAP/cf-cli-java-plugin/releases/tag/snapshot).
@@ -288,10 +288,6 @@ USAGE:
288288
Get the status of async-profiler on a running Java application
289289

290290
OPTIONS:
291-
-local-dir -ld, the local directory path that the dump/JFR/... file will be saved to,
292-
defaults to the current directory
293-
-no-download -nd, don't download the heap dump/JFR/... file to local, only keep it in the
294-
container, implies '--keep'
295291
-verbose -v, enable verbose output for the plugin
296292
-app-instance-index -i [index], select to which instance of the app to connect
297293
-args -a, Miscellaneous arguments to pass to the command (if supported) in the
@@ -305,6 +301,10 @@ OPTIONS:
305301
-dry-run -n, just output to command line what would be executed
306302
-keep -k, keep the heap dump in the container; by default the heap dump/JFR/... will
307303
be deleted from the container's filesystem after being downloaded
304+
-local-dir -ld, the local directory path that the dump/JFR/... file will be saved to,
305+
defaults to the current directory
306+
-no-download -nd, don't download the heap dump/JFR/... file to local, only keep it in the
307+
container, implies '--keep'
308308

309309
</pre>
310310

0 commit comments

Comments
 (0)