X-Git-Url: https://git.danix.xyz/?p=bash-notes.git;a=blobdiff_plain;f=SOURCE%2FCORE%2Fhelpers.sh;h=f697c071defc7b3c7e3b44ed8a256d0c7bd8c17c;hp=8ff0e3cb2ed302f8b02c32de1ca6ff52bfdabbab;hb=3951cc3d829d51e8cd3de200612477f0548520c2;hpb=9eb02251c45d2b0d312b2c40f65f2f926bfb9a34 diff --git a/SOURCE/CORE/helpers.sh b/SOURCE/CORE/helpers.sh index 8ff0e3c..f697c07 100644 --- a/SOURCE/CORE/helpers.sh +++ b/SOURCE/CORE/helpers.sh @@ -14,22 +14,6 @@ function check_noteID() { function helptext() { echo "Usage:" echo " $0 [PARAMS] ..." - echo "" - cat << __NOWCONF__ -${BASENAME} configuration is: - -base directory: ${BASEDIR}/ -notes archive: ${NOTESDIR}/ -notes database: ${DB} -rc file: $RCFILE -debug file: /tmp/debug_bash-note.log - -text editor: ${EDITOR} -terminal: ${TERMINAL} -jq executable: ${JQ} -PAGER: ${PAGER} -__NOWCONF__ - echo "" echo "${BASENAME} parameters are:" echo -e " -h | --help\t\t\t: This help text" @@ -37,13 +21,32 @@ __NOWCONF__ echo -e "\t\t\t\t (without this option the output is formatted)" echo -e "\t\t\t\t (this option must precede all others)" echo -e " -l | --list\t\t\t: List existing notes" - echo -e " -a | --add [\"