Skip to content

docker ps -h: --no-trunc incorrectly documented #5545

@Annihilannic

Description

@Annihilannic

Surely it should read "--no-trunc=true: Don't truncate output" or "--no-trunc=false: Truncate output (default behaviour)".

Similar for "--quiet=false". I presume it was intended to show the alternatives (either "-q" or "--quiet=false"), however the textual description is misleading.

I think a better format would be "-q, --quiet=<true|false>: whether to only display numeric IDs", or something along those lines.

anni@helium:~/src/Redis$ docker ps -h

Usage: docker ps [OPTIONS]

List containers

  -a, --all=false: Show all containers. Only running containers are shown by default.
  --before="": Show only container created before Id or Name, include non-running ones.
  -l, --latest=false: Show only the latest created container, include non-running ones.
  -n=-1: Show n last created containers, include non-running ones.
  --no-trunc=false: Don't truncate output
  -q, --quiet=false: Only display numeric IDs
  -s, --size=false: Display sizes
  --since="": Show only containers created since Id or Name, include non-running ones.
anni@helium:~/src/Redis$
anni@helium:~/src/Redis$ docker version
Client version: 0.10.0
Client API version: 1.10
Go version (client): go1.2.1
Git commit (client): dc9c28f
Server version: 0.10.0
Server API version: 1.10
Git commit (server): dc9c28f
Go version (server): go1.2.1
Last stable version: 0.10.0
anni@helium:~/src/Redis$

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions