Skip to content

[regression in v18.06] Unknown top-level command should fail with non-zero exit code #1428

@AkihiroSuda

Description

@AkihiroSuda

Description

Unknown top-level command should fail with non-zero exit code

Steps to reproduce the issue:

$ docker foobar
$ exit $?

Describe the results you received:

0

Describe the results you expected:

1

Output of docker version:

Client:
 Version:           19.03.0-dev
 API version:       1.39
 Go version:        go1.10.4
 Git commit:        ab50c2f2
 Built:             Wed Oct 10 08:56:03 2018
 OS/Arch:           linux/amd64
 Experimental:      true
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions