diff options
author | garhve <git@garhve.com> | 2022-12-12 12:03:20 +0800 |
---|---|---|
committer | garhve <git@garhve.com> | 2022-12-12 12:03:20 +0800 |
commit | 46e07255bbe67b1dbf93dcd7f33e25f10eb8f8de (patch) | |
tree | 6460adb830a9ea99b0de210ad4b514e96b471d41 | |
parent | 7211d120f1b3599256257bf24852ba1c334db96f (diff) |
change description for comment and helper
-rwxr-xr-x | bash/blog.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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" |