aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-03-30 09:32:57 +0800
committertypebrook <typebrook@gmail.com>2020-03-30 09:32:57 +0800
commitcd320f9626f5b158eb78dbc2588f503e0db80e43 (patch)
treef980db3e8d8ade0543022033f4e3ab7c06d5f44b
parent6e61157b434a44cee00893f82fd5fee15812ff7f (diff)
Update comments
-rwxr-xr-xgist3
1 files changed, 2 insertions, 1 deletions
diff --git a/gist b/gist
index 6c7443c..0e16187 100755
--- a/gist
+++ b/gist
@@ -700,9 +700,10 @@ _check_protocol() {
700} 700}
701 701
702_tag_gist() { 702_tag_gist() {
703 # if user want to change tags of a gist 703 # if no tag is given, show gist list with tags
704 if [[ -z $@ ]]; then 704 if [[ -z $@ ]]; then
705 display=tag mark=${INPUT:+.} _show_list 705 display=tag mark=${INPUT:+.} _show_list
706 # if user want to change tags of a gist
706 elif _gist_id $1 &>/dev/null; then 707 elif _gist_id $1 &>/dev/null; then
707 _show_detail $1 | sed 3,6d && echo 708 _show_detail $1 | sed 3,6d && echo
708 local desc="$(_get_desc $1)" 709 local desc="$(_get_desc $1)"