Alexey Shpakovsky 11 anos atrás
pai
commit
773bcc1f85
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3 2
      bb.sh

+ 3 - 2
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"