Skip to content

Commit c40de0c

Browse files
authored
Update Readme#Caddy CLI to use double-hyphen (#408)
1 parent be9c95d commit c40de0c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -481,29 +481,29 @@ Run `caddy help docker-proxy` to see all available flags.
481481

482482
```
483483
Usage of docker-proxy:
484-
-caddyfile-path string
484+
--caddyfile-path string
485485
Path to a base Caddyfile that will be extended with Docker sites
486-
-controller-network string
486+
--controller-network string
487487
Network allowed to configure Caddy server in CIDR notation. Ex: 10.200.200.0/24
488-
-ingress-networks string
488+
--ingress-networks string
489489
Comma separated name of ingress networks connecting Caddy servers to containers.
490490
When not defined, networks attached to controller container are considered ingress networks
491-
-docker-sockets
491+
--docker-sockets
492492
Comma separated docker sockets
493493
When not defined, DOCKER_HOST (or default docker socket if DOCKER_HOST not defined)
494-
-docker-certs-path
494+
--docker-certs-path
495495
Comma separated cert path, you could use empty value when no cert path for the concern index docker socket like cert_path0,,cert_path2
496-
-docker-apis-version
496+
--docker-apis-version
497497
Comma separated apis version, you could use empty value when no api version for the concern index docker socket like cert_path0,,cert_path2
498-
-label-prefix string
498+
--label-prefix string
499499
Prefix for Docker labels (default "caddy")
500-
-mode
500+
--mode
501501
Which mode this instance should run: standalone | controller | server
502-
-polling-interval duration
502+
--polling-interval duration
503503
Interval Caddy should manually check Docker for a new Caddyfile (default 30s)
504-
-process-caddyfile
504+
--process-caddyfile
505505
Process Caddyfile before loading it, removing invalid servers (default true)
506-
-proxy-service-tasks
506+
--proxy-service-tasks
507507
Proxy to service tasks instead of service load balancer (default true)
508508
```
509509

0 commit comments

Comments
 (0)