From 3c2877dd63698f6ef424538ed91ffa66144bf115 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 8 Jan 2025 18:05:48 +0100 Subject: just build: add new option -p ... allowing to print the unique artifact built (if any). This allows convenient inspection of the build result of targets that define precisely one artifact. --- share/man/just.1.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'share') diff --git a/share/man/just.1.md b/share/man/just.1.md index e56547a8..6c5927f0 100644 --- a/share/man/just.1.md +++ b/share/man/just.1.md @@ -494,6 +494,12 @@ Supported by: analyse|build|install. After building, print the specified artifact to stdout. Supported by: build|install|rebuild|traverse. +**`-p`**, **`--print-unique-artifact`** +After building, print the unique artifact to stdout, if any. If +the option **`-P`** is given or the number of artifacts is not +precisely one, this option has no effect. +Supported by: build|install|rebuild|traverse. + **`-s`**, **`--show-runfiles`** Do not omit runfiles in build report. Supported by: build|install|rebuild|traverse. -- cgit v1.2.3