help text

This commit is contained in:
Alexey Shpakovsky 2014-06-26 04:23:38 +02:00 committed by Aleksei Shpakovskii
parent 7d67da7b27
commit 773bcc1f85

5
bb.sh
View File

@ -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"