From cd320f9626f5b158eb78dbc2588f503e0db80e43 Mon Sep 17 00:00:00 2001 From: typebrook Date: Mon, 30 Mar 2020 09:32:57 +0800 Subject: Update comments --- gist | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gist b/gist index 6c7443c..0e16187 100755 --- a/gist +++ b/gist @@ -700,9 +700,10 @@ _check_protocol() { } _tag_gist() { - # if user want to change tags of a gist + # if no tag is given, show gist list with tags if [[ -z $@ ]]; then display=tag mark=${INPUT:+.} _show_list + # if user want to change tags of a gist elif _gist_id $1 &>/dev/null; then _show_detail $1 | sed 3,6d && echo local desc="$(_get_desc $1)" -- cgit v1.2.3-70-g09d2