darwin-rebuild: support --log-format

This commit is contained in:
isabel 2026-01-03 19:49:30 +00:00
parent 06648f4902
commit 1e2d8fbb37
No known key found for this signature in database

View file

@ -28,7 +28,7 @@ showSyntax() {
echo " [--no-update-lock-file] [--no-write-lock-file]" >&2 echo " [--no-update-lock-file] [--no-write-lock-file]" >&2
echo " [--override-input input flake] [--update-input input]" >&2 echo " [--override-input input flake] [--update-input input]" >&2
echo " [--no-registries] [--offline] [--refresh]]" >&2 echo " [--no-registries] [--offline] [--refresh]]" >&2
echo " [--substituters substituters-list] ..." >&2 echo " [--substituters substituters-list] [--log-format log-format] ..." >&2
exit 1 exit 1
} }
@ -128,7 +128,7 @@ while [ $# -gt 0 ]; do
fi fi
shift 1 shift 1
;; ;;
--substituters) --substituters|--log-format)
if [ -z "$1" ]; then if [ -z "$1" ]; then
echo "$0: '$i' requires an argument" echo "$0: '$i' requires an argument"
exit 1 exit 1