function help { echo "" echo "usage: sns [-ce] NAME NOTEBOOK SECTION" echo " sns [-d ] NAME NOTEBOOK SECTION" echo " sns [-l ] NOTEBOOK" echo " sns [-w ]" echo "" echo " -c | --create : Create note" echo " -d | --delete : Delete note" echo " -e | --edit : Open note for editing" echo " -p | --print : Print note to console" echo " -l | --list : List all notes in NOTEBOOK" echo " -w | --wconf : Write default configuration to ~/.sns (useful for Encryption)" echo "" } #============================================================================== # End Section: Helper Functions #==============================================================================