Skip to content

Commit ae220be

Browse files
committed
docs: small changes
1 parent d80d7a9 commit ae220be

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -108,24 +108,24 @@ Options:
108108
You can pass this option multiple times to notify multiple containers.
109109
-notify-filter key=value
110110
container filter for notification (e.g -notify-filter name=foo).
111-
You can have multiple of these.
111+
You can pass this option multiple times to combine filters with AND.
112112
https://docs.docker.com/engine/reference/commandline/ps/#filter
113113
-notify-signal signal
114114
signal to send to the -notify-container and -notify-filter. -1 to call docker restart. Defaults to 1 aka. HUP.
115115
All available signals available on the dockerclient
116-
https://github.com/fsouza/go-dockerclient/blob/01804dec8a84d0a77e63611f2b62d33e9bb2b64a/signal.go
116+
https://github.com/fsouza/go-dockerclient/blob/main/signal.go
117117
-only-exposed
118118
only include containers with exposed ports
119119
-only-published
120120
only include containers with published ports (implies -only-exposed)
121121
-include-stopped
122122
include stopped containers
123123
-tlscacert string
124-
path to TLS CA certificate file (default "/Users/jason/.docker/machine/machines/default/ca.pem")
124+
path to TLS CA certificate file (default "~/.docker/machine/machines/default/ca.pem")
125125
-tlscert string
126-
path to TLS client certificate file (default "/Users/jason/.docker/machine/machines/default/cert.pem")
126+
path to TLS client certificate file (default "~/.docker/machine/machines/default/cert.pem")
127127
-tlskey string
128-
path to TLS client key file (default "/Users/jason/.docker/machine/machines/default/key.pem")
128+
path to TLS client key file (default "~/.docker/machine/machines/default/key.pem")
129129
-tlsverify
130130
verify docker daemon's TLS certicate (default true)
131131
-version

cmd/docker-gen/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func initFlags() {
117117
flag.Var(&notifyContainerID, "notify-container",
118118
"send -notify-signal signal (defaults to 1 / HUP) to container. You can pass this option multiple times to notify multiple containers.")
119119
flag.Var(&notifyContainerFilter, "notify-filter",
120-
"container filter for notification (e.g -notify-filter name=foo). You can have multiple of these. https://docs.docker.com/engine/reference/commandline/ps/#filter")
120+
"container filter for notification (e.g -notify-filter name=foo). You can pass this option multiple times to combine filters with AND. https://docs.docker.com/engine/reference/commandline/ps/#filter")
121121
flag.IntVar(&notifyContainerSignal, "notify-signal", int(docker.SIGHUP),
122122
"signal to send to the notify-container and notify-filter. Defaults to SIGHUP")
123123
flag.Var(&configFiles, "config", "config files with template directives. Config files will be merged if this option is specified multiple times.")

0 commit comments

Comments
 (0)