Add the list of possible values for --log-level to help text
| ... | ... |
@@ -33,7 +33,7 @@ var ( |
| 33 | 33 |
flDaemon = flag.Bool([]string{"d", "-daemon"}, false, "Enable daemon mode")
|
| 34 | 34 |
flDebug = flag.Bool([]string{"D", "-debug"}, false, "Enable debug mode")
|
| 35 | 35 |
flSocketGroup = flag.String([]string{"G", "-group"}, "docker", "Group to assign the unix socket specified by -H when running in daemon mode\nuse '' (the empty string) to disable setting of a group")
|
| 36 |
- flLogLevel = flag.String([]string{"l", "-log-level"}, "info", "Set the logging level")
|
|
| 36 |
+ flLogLevel = flag.String([]string{"l", "-log-level"}, "info", "Set the logging level (debug, info, warn, error, fatal)")
|
|
| 37 | 37 |
flEnableCors = flag.Bool([]string{"#api-enable-cors", "-api-enable-cors"}, false, "Enable CORS headers in the remote API")
|
| 38 | 38 |
flTls = flag.Bool([]string{"-tls"}, false, "Use TLS; implied by --tlsverify flag")
|
| 39 | 39 |
flHelp = flag.Bool([]string{"h", "-help"}, false, "Print usage")
|
| ... | ... |
@@ -76,7 +76,7 @@ unix://[/path/to/socket] to use. |
| 76 | 76 |
**--ipv6**=*true*|*false* |
| 77 | 77 |
Enable IPv6 support. Default is false. Docker will create an IPv6-enabled bridge with address fe80::1 which will allow you to create IPv6-enabled containers. Use together with `--fixed-cidr-v6` to provide globally routable IPv6 addresses. IPv6 forwarding will be enabled if not used with `--ip-forward=false`. This may collide with your host's current IPv6 settings. For more information please consult the documentation about "Advanced Networking - IPv6". |
| 78 | 78 |
|
| 79 |
-**-l**, **--log-level**="*debug*|*info*|*error*|*fatal*"" |
|
| 79 |
+**-l**, **--log-level**="*debug*|*info*|*warn*|*error*|*fatal*"" |
|
| 80 | 80 |
Set the logging level. Default is `info`. |
| 81 | 81 |
|
| 82 | 82 |
**--label**="[]" |
| ... | ... |
@@ -92,7 +92,7 @@ expect an integer, and they can only be specified once. |
| 92 | 92 |
--ip-masq=true Enable IP masquerading for bridge's IP range |
| 93 | 93 |
--iptables=true Enable Docker's addition of iptables rules |
| 94 | 94 |
--ipv6=false Enable Docker IPv6 support |
| 95 |
- -l, --log-level="info" Set the logging level |
|
| 95 |
+ -l, --log-level="info" Set the logging level (debug, info, warn, error, fatal) |
|
| 96 | 96 |
--label=[] Set key=value labels to the daemon (displayed in `docker info`) |
| 97 | 97 |
--mtu=0 Set the containers network MTU |
| 98 | 98 |
if no value is provided: default to the default route MTU or 1500 if no default route is available |