главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
path: root/bb.sh
diff options
context:
space:
mode:
authorAlexey Shpakovsky <alexey@shpakovsky.ru>2014-06-26 04:23:38 +0200
committerAleksei Shpakovskii <alekseis@opera.com>2014-06-26 08:33:01 +0200
commit773bcc1f8558647d1e3d33f324e146e1e055ccff (patch)
tree49eae9dacbf6ce53c0be5fd7516e65fcbb9b8bdb /bb.sh
parent7d67da7b27fe70c52002d9599669bb2f00c8d79b (diff)
help text
Diffstat (limited to 'bb.sh')
-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"