From de1a89440b2d583435a212d98cb301f0b24efe9b Mon Sep 17 00:00:00 2001 From: typebrook Date: Fri, 31 Jan 2020 12:30:17 +0800 Subject: update --- scripts/gist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/gist') diff --git a/scripts/gist b/scripts/gist index d0198a3..8e5e36c 100755 --- a/scripts/gist +++ b/scripts/gist @@ -403,7 +403,7 @@ _edit_gist() { && _update } -_help_message() { +usage() { sed -E -n ' /^$/ q; 8,$ s/^#//p' $0 } @@ -434,7 +434,7 @@ case "$1" in shift _configure "$@" ;; help | h) - _help_message ;; + usage ;; *) _goto_gist "$1" ;; esac -- cgit v1.2.3-70-g09d2