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