summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-02-24 14:45:32 -0500
committerJune McEnroe <june@causal.agency>2019-02-24 14:45:32 -0500
commitcec7c08093375e4751478ac9f48f615d726f49d0 (patch)
tree9a7c91be1a4b2d9c2d44dd7f18e2db182fb07c1c
parentAdd setopt (diff)
downloadsrc-cec7c08093375e4751478ac9f48f615d726f49d0.tar.gz
src-cec7c08093375e4751478ac9f48f615d726f49d0.zip
Use setopt in up
-rw-r--r--bin/up.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/up.sh b/bin/up.sh
index 36febe7f..07a0b76b 100644
--- a/bin/up.sh
+++ b/bin/up.sh
@@ -38,8 +38,8 @@ uploadScreen() {
 	upload "${temp}/capture.png"
 }
 
-args=$(getopt 'hs' $*)
-set -- $args
+args=$(setopt 'hs' "$@")
+eval set -- "$args"
 for opt; do
 	case "$opt" in
 		(-h) shift; fn=uploadHi;;
l.agency/2024-09-07/lens?id=49a105101493f4dd51259dd62dcbd24df0909bd3&follow=1'>Add photos from September 7June McEnroe 2024-09-24Allow not having descriptionsJune McEnroe 2024-09-23Automatically select the last used lens for a bodyJune McEnroe 2024-09-19Add photos from September 5June McEnroe 2024-09-15Add some more film stocks to the listJune McEnroe 2024-09-13Add photos from September 2June McEnroe 2024-09-13Add Fomapan 200 to films listJune McEnroe 2024-09-10Add August 29 picnic photosJune McEnroe 2024-09-08Apply some bold to trips renderingJune McEnroe 2024-09-08Render trips hopefully more efficientlyJune McEnroe 2024-09-08Allow removing bodies and lensesJune McEnroe 2024-09-08Limit body width so it looks less silly on desktopJune McEnroe 2024-09-07Handle no film being loadedJune McEnroe 2024-09-07Fancy up the text a littleJune McEnroe