瀏覽代碼

Merge pull request #15278 from campoy/14558-break-long-command

Break long command to avoid cropping
Sebastiaan van Stijn 10 年之前
父節點
當前提交
c26c1eb8ba
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      docs/installation/mac.md

+ 2 - 1
docs/installation/mac.md

@@ -345,7 +345,8 @@ The next exercise demonstrates how to do this.
 
 5. Start a new `nginx` container and replace the `html` folder with your `site` directory.
 
-        $ docker run -d -P -v $HOME/site:/usr/share/nginx/html --name mysite nginx
+        $ docker run -d -P -v $HOME/site:/usr/share/nginx/html \
+          --name mysite nginx
 
 6. Get the `mysite` container's port.