Improve grammar and punctuation of chrome-command-line-switches.md

Improve the grammar, sentence structure, punctuation and formatting of
`chrome-command-line-switches.md`
This commit is contained in:
Jeffrey Morgan 2015-07-23 17:59:51 +01:00
parent d138c2970c
commit adab769700

View file

@ -1,8 +1,8 @@
# Supported Chrome command line switches # Supported Chrome command line switches
The following command lines switches in Chrome browser are also supported in This page lists the command line switches used by the Chrome browser that are also supported by
Electron, you can use [app.commandLine.appendSwitch][append-switch] to append Electron. You can use [app.commandLine.appendSwitch][append-switch] to append
them in your app's main script before the [ready][ready] event of [app][app] them to your app's main script before the [ready][ready] event of [app][app]
module is emitted: module is emitted:
```javascript ```javascript
@ -17,11 +17,11 @@ app.on('ready', function() {
## --client-certificate=`path` ## --client-certificate=`path`
Sets `path` of client certificate file. Sets the `path` of client certificate file.
## --ignore-connections-limit=`domains` ## --ignore-connections-limit=`domains`
Ignore the connections limit for `domains` list seperated by `,`. Ignore the connections limit for `domains` list separated by `,`.
## --disable-http-cache ## --disable-http-cache
@ -29,11 +29,11 @@ Disables the disk cache for HTTP requests.
## --remote-debugging-port=`port` ## --remote-debugging-port=`port`
Enables remote debug over HTTP on the specified `port`. Enables remote debugging over HTTP on the specified `port`.
## --proxy-server=`address:port` ## --proxy-server=`address:port`
Uses a specified proxy server, overrides system settings. This switch only Use a specified proxy server, which overrides the system setting. This switch only
affects HTTP and HTTPS requests. affects HTTP and HTTPS requests.
## --proxy-pac-url=`url` ## --proxy-pac-url=`url`
@ -42,12 +42,12 @@ Uses the PAC script at the specified `url`.
## --no-proxy-server ## --no-proxy-server
Don't use a proxy server, always make direct connections. Overrides any other Don't use a proxy server and always make direct connections. Overrides any other
proxy server flags that are passed. proxy server flags that are passed.
## --host-rules=`rules` ## --host-rules=`rules`
Comma-separated list of `rules` that control how hostnames are mapped. A comma-separated list of `rules` that control how hostnames are mapped.
For example: For example:
@ -60,7 +60,7 @@ For example:
"www.google.com". "www.google.com".
These mappings apply to the endpoint host in a net request (the TCP connect These mappings apply to the endpoint host in a net request (the TCP connect
and host resolver in a direct connection, and the `CONNECT` in an http proxy and host resolver in a direct connection, and the `CONNECT` in an HTTP proxy
connection, and the endpoint host in a `SOCKS` proxy connection). connection, and the endpoint host in a `SOCKS` proxy connection).
## --host-resolver-rules=`rules` ## --host-resolver-rules=`rules`
@ -77,15 +77,15 @@ Ignores certificate related errors.
## --ppapi-flash-path=`path` ## --ppapi-flash-path=`path`
Sets `path` of pepper flash plugin. Sets the `path` of the pepper flash plugin.
## --ppapi-flash-version=`version` ## --ppapi-flash-version=`version`
Sets `version` of pepper flash plugin. Sets the `version` of the pepper flash plugin.
## --log-net-log=`path` ## --log-net-log=`path`
Enables saving net log events and writes them to `path`. Enables net log events to be saved and writes them to `path`.
## --v=`log_level` ## --v=`log_level`
@ -102,7 +102,7 @@ source files `my_module.*` and `foo*.*`.
Any pattern containing a forward or backward slash will be tested against the Any pattern containing a forward or backward slash will be tested against the
whole pathname and not just the module. E.g. `*/foo/bar/*=2` would change the whole pathname and not just the module. E.g. `*/foo/bar/*=2` would change the
logging level for all code in source files under a `foo/bar` directory. logging level for all code in the source files under a `foo/bar` directory.
To disable all chromium related logs and only enable your application logs you To disable all chromium related logs and only enable your application logs you
can do: can do: