summaryrefslogtreecommitdiffhomepage
path: root/scripts/gist
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gist')
-rwxr-xr-xscripts/gist3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/gist b/scripts/gist
index e83b3c2..7dfd713 100755
--- a/scripts/gist
+++ b/scripts/gist
@@ -280,13 +280,12 @@ _cases() {
280 [[ ${#2} -eq 40 ]] && echo token=$2 ||\ 280 [[ ${#2} -eq 40 ]] && echo token=$2 ||\
281 echo Invalid token format, it is not 40 chars '\n' > /dev/tty 281 echo Invalid token format, it is not 40 chars '\n' > /dev/tty
282 elif [[ $1 == 'auto_sync' ]]; then 282 elif [[ $1 == 'auto_sync' ]]; then
283 [[ $2 == 'false' ]] && echo $1=$2 ||\
283 echo $1=true 284 echo $1=true
284 elif [[ $1 == 'folder' ]]; then 285 elif [[ $1 == 'folder' ]]; then
285 echo $1=$2 286 echo $1=$2
286 elif [[ $1 == 'user' ]]; then 287 elif [[ $1 == 'user' ]]; then
287 echo $1=$2 288 echo $1=$2
288 else
289 echo $1=
290 fi 289 fi
291} 290}
292 291