Rewording of usage()
This commit is contained in:
parent
430eb996cc
commit
484f585cba
1 changed files with 6 additions and 7 deletions
13
bb.sh
13
bb.sh
|
@ -863,15 +863,14 @@ echo "$global_software_name v$global_software_version"
|
||||||
echo "Usage: $0 command [filename]"
|
echo "Usage: $0 command [filename]"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Commands:"
|
echo "Commands:"
|
||||||
echo " post [-m] [filename] insert a new blog post, or the FILENAME of a draft to continue editing it"
|
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 " use '-m' to edit the post as Markdown text"
|
||||||
echo " edit [filename] edit an already published .html file. Never edit manually a published .html file,"
|
echo " edit [filename] edit an already published .html file. **NEVER** edit manually a published .html file,"
|
||||||
echo " delete [filename] deletes the post"
|
echo " always use this function as it keeps internal data and rebuilds the blog"
|
||||||
echo " always use this function as it keeps the original timestamp "
|
echo " delete [filename] deletes the post and rebuilds the blog"
|
||||||
echo " and rebuilds whatever indices are needed"
|
|
||||||
echo " rebuild regenerates all the pages and posts, preserving the content of the entries"
|
echo " rebuild regenerates all the pages and posts, preserving the content of the entries"
|
||||||
echo " reset deletes blog-generated files. Use with a lot of caution and back up first!"
|
echo " reset deletes everything except this script. Use with a lot of caution and back up first!"
|
||||||
echo " list list all entries. Useful for debug"
|
echo " list list all posts"
|
||||||
echo ""
|
echo ""
|
||||||
echo "For more information please open $0 in a code editor and read the header and comments"
|
echo "For more information please open $0 in a code editor and read the header and comments"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue