Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

[bug] --help doesn't print entire output  #306

Closed
@vsoch

Description

@vsoch

With the latest release, container-diff --help doesn't print anything as it should (see #301 (comment))

Expected behavior

container-diff --help
container-diff is a CLI tool for analyzing and comparing container images.

Images can be specified from either a local Docker daemon, or from a remote registry.
To specify a local image, prefix the image ID with 'daemon://', e.g. 'daemon://gcr.io/foo/bar'.
To specify a remote image, prefix the image ID with 'remote://', e.g. 'remote://gcr.io/foo/bar'.
If no prefix is specified, the local daemon will be checked first.

Tarballs can also be specified by simply providing the path to the .tar, .tar.gz, or .tgz file.

Usage:
  container-diff [command]

Available Commands:
  analyze     Analyzes an image: [image]
  diff        Compare two images: [image1] [image2]
  help        Help about any command
  version     Print the version of container-diff

Flags:
      --format string      Format to output diff in.
  -h, --help               help for container-diff
  -v, --verbosity string   This flag controls the verbosity of container-diff. (default "warning")

Use "container-diff [command] --help" for more information about a command.

Actual behavior

$ container-diff --help
Usage of container-diff:

Information

  • OS: Tested on ubuntu 18.04, 16.04, and archlinx (see issue linked above)
  • container-diff version: v0.15.0

Steps to reproduce the behavior

Install container-diff as specific for linux in the README.md, and then run container-diff --help.

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