`tools/format-cpp` can be a bit long, so show the progress by making
xargs print the executed command.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ifb5e40017a2bb429ce7e900a2076532bc038a792
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11143
Reviewed-by: Michael Jeanson <mjeanson@efficios.com>
! -wholename '*/cpp-common/optional.hpp' \
! -wholename '*/cpp-common/string_view.hpp' \
! -wholename '*/cpp-common/nlohmann/json.hpp' \
- -print0 | xargs -P"$(nproc)" -n1 -0 "${formatter[@]}"
+ -print0 | xargs -P"$(nproc)" -n1 -t -0 "${formatter[@]}"
}
if [[ -n "$FORMATTER" ]]; then