summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2024-10-05 15:48:56 -0700
committerXiao Pan <xyz@flylightning.xyz>2024-10-05 15:48:56 -0700
commitfe442a6172d1f4d86fd62d0efae9f1b520eab59d (patch)
tree9870eaca4a5146092c6ff5b860c652f31fdb6b8d
parent35ef3d36d50fe4cfd20db6f14bb0017b39319899 (diff)
fix: forget to add C in getopts
-rwxr-xr-xsh/mpra2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/mpra b/sh/mpra
index abf0884..db648cb 100755
--- a/sh/mpra
+++ b/sh/mpra
@@ -25,7 +25,7 @@ ext=zst
copy_any=
copy=
-while getopts ac opt; do
+while getopts acC opt; do
case $opt in
# arch linux arm still using .xz instead of .zst as package compression format
a) ext=xz;;