Skip to content

Commit 1a15afd

Browse files
committed
Update build usage
1 parent 2c3e588 commit 1a15afd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ usage ()
88
printf '\tbuild: build and tag the image\n'
99
printf '\tpush: push the tags to Docker Hub\n'
1010
printf 'Options:\n'
11+
printf ' -f: create freeze file\n'
1112
printf ' -c: targeted pandoc commit, e.g. 2.9.2.1\n'
1213
printf ' -d: directory\n'
1314
printf ' -r: targeted image repository/flavor, e.g. core or latex\n'
@@ -16,7 +17,7 @@ usage ()
1617
printf ' -v: increase verbosity\n'
1718
}
1819

19-
if ! args=$(getopt 'c:d:pr:s:t:v' "$@"); then
20+
if ! args=$(getopt 'c:d:f:pr:s:t:v' "$@"); then
2021
usage && exit 1
2122
fi
2223
# The variable is intentionally left unquoted.
@@ -217,6 +218,7 @@ case "$action" in
217218
## build images
218219
# The use of $(tag_arguments) is correct here
219220
# shellcheck disable=SC2046
221+
printf "Run docker build $@"
220222
docker build "$@" \
221223
$(tag_arguments) \
222224
--build-arg pandoc_commit="${pandoc_commit}" \

0 commit comments

Comments
 (0)