Changed help function to match README

This commit is contained in:
Jon-William Lewis
2016-02-15 00:03:01 -06:00
parent b2482ca1e4
commit a8a92ba079

View File

@@ -1,18 +1,14 @@
function help { function help {
echo "" printf "\n%s" "usage: sns [-cedp] NAME NOTEBOOK SECTION"
echo "usage: sns [-ce] NAME NOTEBOOK SECTION" printf "\n%s" " sns [-l] NOTEBOOK"
echo " sns [-d ] NAME NOTEBOOK SECTION" printf "\n%s" " sns [-hi ]"
echo " sns [-lp] NOTEBOOK"
echo " sns [-w ]"
echo " sns [-h ]"
echo "" printf "\n%s" " -c | --create : Create note"
echo " -c | --create : Create note" printf "\n%s" " -d | --delete : Delete note"
echo " -d | --delete : Delete note" printf "\n%s" " -e | --edit : Open note for editing"
echo " -e | --edit : Open note for editing" printf "\n%s" " -h | --help : Display this message"
echo " -h | --help : Display this message" printf "\n%s" " -p | --print : Print note to console"
echo " -p | --print : Print note to console" printf "\n%s" " -l | --list : List all notes in NOTEBOOK"
echo " -l | --list : List all notes in NOTEBOOK" printf "\n%s" " -i | --init : Write default config and initalize SNS store"
echo " -i | --init : Write default config and initalize SNS store" printf "\n"
echo ""
} }