compose-has-build man page

compose-has-build ā€” check for existence of a build in a compose

Synopsis

compose-has-build [Options...] COMPOSE_PATH NVR

Description

compose-has-build checks metadata in the compose and checks if the given build is present. The build can be specified either as NVR or as full NEVR. If there is no epoch, 0 is assumed.

Options

-h, --help

Print help and exit.

-q, --quiet

Do not print any output, just indicate result in exit code.

Exit Code

When build is present, this tool exits with status code of 0. When build is missing, the exit code will be 1.

Bugs

Please report bugs at
https://pagure.io/compose-utils/issues