mirror of
https://github.com/pcvolkmer/docker-pps.git
synced 2025-07-01 20:52:54 +00:00
Use long and short argument names in README.md
This commit is contained in:
@ -30,10 +30,11 @@ CONTAINER ID IMAGE PID UID COMMAND
|
|||||||
123456789abc nginx 13572 101 nginx: worker process
|
123456789abc nginx 13572 101 nginx: worker process
|
||||||
```
|
```
|
||||||
|
|
||||||
Use `-q` argument to show a list of PIDs
|
Use `-q`/`--quiet` argument to show a list of PIDs
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ docker-pps -q
|
$ docker-pps -q
|
||||||
|
$ docker-pps --quiet
|
||||||
```
|
```
|
||||||
shows
|
shows
|
||||||
```
|
```
|
||||||
@ -43,8 +44,9 @@ shows
|
|||||||
13572
|
13572
|
||||||
```
|
```
|
||||||
|
|
||||||
To select another docker host, use `--host` argument
|
To select another docker host, use `-H`/`--host` argument.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ docker-pps --host=http://otherhost:1234
|
$ docker-pps -H http://otherhost:1234
|
||||||
|
$ docker-pps --host=ssh://otherhost:22
|
||||||
```
|
```
|
Reference in New Issue
Block a user