summaryrefslogtreecommitdiffhomepage
path: root/scripts/gist
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-01-21 11:05:49 +0800
committertypebrook <typebrook@gmail.com>2020-01-21 11:05:49 +0800
commit4cfe30dfa8bb32acadd28808fc42e305dbff35ab (patch)
tree5027d4f407d50679bb1d4c7a645765fe0d136ac7 /scripts/gist
parent1bf31dc65ef6f3a5a6516310fbeca5457a9305d8 (diff)
update
Diffstat (limited to 'scripts/gist')
-rwxr-xr-xscripts/gist2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gist b/scripts/gist
index b4b0d0b..1f5b7be 100755
--- a/scripts/gist
+++ b/scripts/gist
@@ -192,7 +192,7 @@ _show_detail() {
192} 192}
193 193
194_set_gist() { 194_set_gist() {
195 while [[ "$1" =~ ^- && ! "$1" == "--" ]]; do case $1 in 195 while [[ "$1" =~ ^- && "$1" != "--" ]]; do case $1 in
196 -d | --desc) 196 -d | --desc)
197 description="$2" 197 description="$2"
198 shift; shift;; 198 shift; shift;;