darwin-rebuild: support --log-format (#1675)

This commit is contained in:
Sam
2026-05-17 15:23:44 +00:00
committed by GitHub
+2 -2
View File
@@ -28,7 +28,7 @@ showSyntax() {
echo " [--no-update-lock-file] [--no-write-lock-file]" >&2
echo " [--override-input input flake] [--update-input input]" >&2
echo " [--no-registries] [--offline] [--refresh]]" >&2
echo " [--substituters substituters-list] ..." >&2
echo " [--substituters substituters-list] [--log-format log-format] ..." >&2
exit 1
}
@@ -128,7 +128,7 @@ while [ $# -gt 0 ]; do
fi
shift 1
;;
--substituters)
--substituters|--log-format)
if [ -z "$1" ]; then
echo "$0: '$i' requires an argument"
exit 1