From 46e07255bbe67b1dbf93dcd7f33e25f10eb8f8de Mon Sep 17 00:00:00 2001 From: garhve Date: Mon, 12 Dec 2022 12:03:20 +0800 Subject: change description for comment and helper --- bash/blog.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bash/blog.sh') diff --git a/bash/blog.sh b/bash/blog.sh index 0550eeb..f627aea 100755 --- a/bash/blog.sh +++ b/bash/blog.sh @@ -8,7 +8,7 @@ # @description : simplify blog publishing, it only can use in blog dir ###################################################################### -# usage: prog [action] [language] +# usage: prog new/edit/push [en/cn] push() { read -r -p "Do you want to push?[y/n] " ans @@ -71,7 +71,7 @@ new() { } -[ $# -lt 1 ] && echo "usage: $(basename $0) action [en/cn]" +[ $# -lt 1 ] && echo "usage: $(basename $0) new/edit/push [en/cn]" [ $1 == "new" ] && new "$2" [ $1 == "edit" ] && edit "$2" -- cgit v1.2.3-70-g09d2