summaryrefslogtreecommitdiff
path: root/bash/blog.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bash/blog.sh')
-rwxr-xr-xbash/blog.sh4
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"