главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbb.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bb.sh b/bb.sh
index 86f0824..3cf58b8 100755
--- a/bb.sh
+++ b/bb.sh
@@ -975,8 +975,9 @@ usage() {
echo "Usage: $0 command [filename]"
echo ""
echo "Commands:"
- echo " post [-m] [filename] insert a new blog post, or the filename of a draft to continue editing it"
- echo " use '-m' to edit the post as Markdown text"
+ echo " post [-html] [filename] insert a new blog post, or the filename of a draft to continue editing it"
+ echo " it tries to use markdown by default, and falls back to HTML if it's not available."
+ echo " use '-html' to override it and edit the post as HTML even when markdown is available"
echo " edit [-n|-f] [filename] edit an already published .html or .md file. **NEVER** edit manually a published .html file,"
echo " always use this function as it keeps internal data and rebuilds the blog"
echo " use '-n' to give the file a new name, if title was changed"