diff options
author | typebrook <typebrook@gmail.com> | 2020-03-30 09:32:57 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-03-30 09:32:57 +0800 |
commit | cd320f9626f5b158eb78dbc2588f503e0db80e43 (patch) | |
tree | f980db3e8d8ade0543022033f4e3ab7c06d5f44b | |
parent | 6e61157b434a44cee00893f82fd5fee15812ff7f (diff) |
Update comments
-rwxr-xr-x | gist | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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)" |