From 053e80b29d547281a19ee081de0eb2a779cbef0f Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Wed, 10 Apr 2013 21:09:21 +0200 Subject: [PATCH] changed last to n Upstream-commit: 8bd192fb16a5ac9836d4b1d3df037af65b61ffce Component: engine --- components/engine/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/commands.go b/components/engine/commands.go index a231632f27..cc123b44a2 100644 --- a/components/engine/commands.go +++ b/components/engine/commands.go @@ -648,7 +648,7 @@ func (srv *Server) CmdPs(stdin io.ReadCloser, stdout io.Writer, args ...string) flAll := cmd.Bool("a", false, "Show all containers. Only running containers are shown by default.") flFull := cmd.Bool("notrunc", false, "Don't truncate output") latest := cmd.Bool("l", false, "Show only the latest created container, include non-running ones.") - n_last := cmd.Int("last", -1, "Show last created containers, include non-running ones.") + n_last := cmd.Int("n", -1, "Show n last created containers, include non-running ones.") if err := cmd.Parse(args); err != nil { return nil }