瀏覽代碼

fix #7374 leftover

Signed-off-by: Victor Vieux <vieux@docker.com>
Victor Vieux 11 年之前
父節點
當前提交
bcfd6a653b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      daemon/delete.go

+ 1 - 1
daemon/delete.go

@@ -58,7 +58,7 @@ func (daemon *Daemon) ContainerDestroy(job *engine.Job) engine.Status {
 					return job.Errorf("Could not kill running container, cannot remove - %v", err)
 				}
 			} else {
-				return job.Errorf("You cannot remove a running container. Stop the container before attempting removal or use -s or -k")
+				return job.Errorf("You cannot remove a running container. Stop the container before attempting removal or use -f")
 			}
 		}
 		if err := daemon.Destroy(container); err != nil {