diff options
author | typebrook <typebrook@gmail.com> | 2020-01-21 18:40:21 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-01-21 18:40:21 +0800 |
commit | f22ab8cbc48f7f1333d25146e98f3b7ea16f3ed2 (patch) | |
tree | a4b439c6e9bdd9ae025a2d8c6c41246a1fc610d1 /scripts/gist | |
parent | d0b2e1159e78924b74c973ce464272fe08eb24c3 (diff) |
update
Diffstat (limited to 'scripts/gist')
-rwxr-xr-x | scripts/gist | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/gist b/scripts/gist index 94181d8..8805e19 100755 --- a/scripts/gist +++ b/scripts/gist | |||
@@ -276,10 +276,10 @@ _help_message() { | |||
276 | } | 276 | } |
277 | 277 | ||
278 | _configure() { | 278 | _configure() { |
279 | case "$1" in | 279 | case "$1 $2" in |
280 | auto_sync) echo -n $1=; shift ;;& | 280 | auto_sync*) echo -n $1= ;;& |
281 | true) echo true; shift ;; | 281 | *true) echo $2; shift; shift ;; |
282 | false) echo false; shift ;; | 282 | *false) echo $2; shift; shift ;; |
283 | folder) shift | 283 | folder) shift |
284 | esac | 284 | esac |
285 | } | 285 | } |