Browse code

unify `–`(en dash) to `-` when specifying options

Signed-off-by: Xie Shi <georgexsh@gmail.com>

George Xie authored on 2014/11/05 13:26:17
Showing 5 changed files
... ...
@@ -979,4 +979,4 @@ To enable cross origin requests to the remote api add the flag
979 979
 "--api-enable-cors" when running docker in daemon mode.
980 980
 
981 981
 > docker -d -H="[tcp://192.168.1.9:2375](tcp://192.168.1.9:2375)"
982
-> –api-enable-cors
982
+> -api-enable-cors
... ...
@@ -1064,4 +1064,4 @@ stdout and stderr on the same socket. This might change in the future.
1064 1064
 To enable cross origin requests to the remote api add the flag
1065 1065
 "--api-enable-cors" when running docker in daemon mode.
1066 1066
 
1067
-> docker -d -H="192.168.1.9:2375" –api-enable-cors
1067
+> docker -d -H="192.168.1.9:2375" -api-enable-cors
... ...
@@ -458,7 +458,7 @@ on a private network without having to rely on an external entity
458 458
 controlled by Docker Inc.
459 459
 
460 460
 In this case, the registry will be launched in a special mode
461
-(–standalone? ne? –no-index?). In this mode, the only thing which changes is
461
+(-standalone? ne? -no-index?). In this mode, the only thing which changes is
462 462
 that Registry will never contact the Docker Hub to verify a token. It will be
463 463
 the Registry owner responsibility to authenticate the user who pushes
464 464
 (or even pulls) an image using any mechanism (HTTP auth, IP based,
... ...
@@ -99,7 +99,7 @@ together in most interactive cases.
99 99
 
100 100
 ## Container identification
101 101
 
102
-### Name (–-name)
102
+### Name (--name)
103 103
 
104 104
 The operator can identify a container in three ways:
105 105
 
... ...
@@ -218,7 +218,7 @@ container itself as well as `localhost` and a few other common things.  The
218 218
     ::1	            localhost ip6-localhost ip6-loopback
219 219
     86.75.30.9      db-static
220 220
 
221
-## Clean up (–-rm)
221
+## Clean up (--rm)
222 222
 
223 223
 By default a container's file system persists even after the container
224 224
 exits. This makes debugging a lot easier (since you can inspect the
... ...
@@ -114,7 +114,7 @@ accept an optional maximum restart count (e.g. `on-failure:5`). * `always` –
114 114
 Always restart the container no matter what exit code is returned. This
115 115
 deprecates the `--restart` flag on the Docker daemon.
116 116
 
117
-*New flags for `docker run`: `--cap-add` and `–-cap-drop`*
117
+*New flags for `docker run`: `--cap-add` and `--cap-drop`*
118 118
 
119 119
 In previous releases, Docker containers could either be given complete
120 120
 capabilities or they could all follow a whitelist of allowed capabilities while
... ...
@@ -127,7 +127,7 @@ This release introduces two new flags for `docker run`, `--cap-add` and
127 127
 `--cap-drop`, that give you fine-grain control over the specific capabilities
128 128
 you want grant to a particular container.
129 129
 
130
-*New `-–device` flag for `docker run`*
130
+*New `--device` flag for `docker run`*
131 131
 
132 132
 Previously, you could only use devices inside your containers by bind mounting
133 133
 them (with `-v`) in a `--privileged` container. With this release, we introduce