Victor Vieux 12 лет назад
Родитель
Сommit
8bd192fb16
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      commands.go

+ 1 - 1
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.")
 	flAll := cmd.Bool("a", false, "Show all containers. Only running containers are shown by default.")
 	flFull := cmd.Bool("notrunc", false, "Don't truncate output")
 	flFull := cmd.Bool("notrunc", false, "Don't truncate output")
 	latest := cmd.Bool("l", false, "Show only the latest created container, include non-running ones.")
 	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 {
 	if err := cmd.Parse(args); err != nil {
 		return nil
 		return nil
 	}
 	}