浏览代码

fixed typo

Signed-off-by: Anton Polonskiy <anton.polonskiy@gmail.com>
Anton Polonskiy 9 年之前
父节点
当前提交
233cc865b5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/reference/commandline/inspect.md

+ 1 - 1
docs/reference/commandline/inspect.md

@@ -41,7 +41,7 @@ straightforward manner.
 For the most part, you can pick out any field from the JSON in a fairly
 straightforward manner.
 
-    $ docker inspect '{{range .NetworkSettings.Networks}}{{.MacAddress}}{{end}}' $INSTANCE_ID
+    $ docker inspect --format='{{range .NetworkSettings.Networks}}{{.MacAddress}}{{end}}' $INSTANCE_ID
 
 **Get an instance's log path:**