From 5387765da14d8c2ce02c4944a539f4e65efa7f09 Mon Sep 17 00:00:00 2001 From: Atsushi Watanabe Date: Thu, 18 Jul 2024 10:37:16 +0900 Subject: [PATCH] Fix format --- update-repo.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/update-repo.sh b/update-repo.sh index 8d19c61..f67ac88 100755 --- a/update-repo.sh +++ b/update-repo.sh @@ -6,8 +6,14 @@ dry_run='false' generate_opts= while getopts do: opt; do case ${opt} in - "d" ) dry_run='true' ; echo '[dry-run]';; - "o" ) generate_opts="${OPTARG}" ; echo "[generate-opts ${generate_opts}]";; + "d" ) + dry_run='true' + echo '[dry-run]' + ;; + "o" ) + generate_opts="${generate_opts} ${OPTARG}" + echo "[generate-opts ${generate_opts}]" + ;; esac done