浏览代码

Update the help with push/pull

creack 12 年之前
父节点
当前提交
e4f9a0dca0
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      commands.go

+ 2 - 0
commands.go

@@ -45,6 +45,8 @@ func (srv *Server) Help() string {
 		{"logs", "Fetch the logs of a container"},
 		{"logs", "Fetch the logs of a container"},
 		{"port", "Lookup the public-facing port which is NAT-ed to PRIVATE_PORT"},
 		{"port", "Lookup the public-facing port which is NAT-ed to PRIVATE_PORT"},
 		{"ps", "List containers"},
 		{"ps", "List containers"},
+		{"pull", "Pull an image or a repository to the docker registry server"},
+		{"push", "Push an image or a repository to the docker registry server"},
 		{"restart", "Restart a running container"},
 		{"restart", "Restart a running container"},
 		{"rm", "Remove a container"},
 		{"rm", "Remove a container"},
 		{"rmi", "Remove an image"},
 		{"rmi", "Remove an image"},