summary refs log tree commit diff
path: root/bin
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
commit5afe7822252ae9be0b2a272d65bb5ffd09d4a84d (patch)
treecac0db49a09e1ecfff9df6bab330548761d81428 /bin
parentAdd setopt (diff)
downloadsrc-5afe7822252ae9be0b2a272d65bb5ffd09d4a84d.tar.gz
src-5afe7822252ae9be0b2a272d65bb5ffd09d4a84d.zip
Use setopt in up
Diffstat (limited to '')
-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;;
0:46:21 -0400'>2021-09-15Factor out common parts of downgrade messagesJune McEnroe 2021-09-14Add downgrade IRC botJune McEnroe 2021-09-14Sort by title if authors matchJune McEnroe 2021-09-13Swap-remove tags as they're foundJune McEnroe 2021-09-12Replace htagml regex with strncmpJune McEnroe 2021-09-11Also defer printing comment for lone close-parensJune McEnroe 2021-09-10Publish "git-comment"June McEnroe 2021-09-10Add git comment --pretty optionJune McEnroe 2021-09-08Defer printing comment if line is blank or closing braceJune McEnroe 2021-09-08Up default min-repeat to 30 linesJune McEnroe 2021-09-08Handle dirty lines in git-commentJune McEnroe 2021-09-08Document and install git-commentJune McEnroe 2021-09-08Add repeat and all options to git-commentJune McEnroe 2021-09-08Add group threshold to git-commentJune McEnroe