mirror of
https://github.com/RyanGreenup/cadmus.git
synced 2025-08-27 07:44:21 +02:00
Indicates whether function will print menu or run
This commit is contained in:
@@ -43,8 +43,8 @@ function mainHelp() {
|
|||||||
|
|
||||||
echo -e " \e[1;91m \e[1m Command \e[0m\e[0m \e[1;34m┊┊┊ \e[0m Description "
|
echo -e " \e[1;91m \e[1m Command \e[0m\e[0m \e[1;34m┊┊┊ \e[0m Description "
|
||||||
echo -e " ..............\e[1;34m┊┊┊\e[0m........................................... "
|
echo -e " ..............\e[1;34m┊┊┊\e[0m........................................... "
|
||||||
echo -e " 🔍 \e[1;93m find \e[0m \e[1;34m ┊┊┊ \e[0m Find Notes based on FileName"
|
echo -e " 🔍 \e[1;93m find \e[0m \e[1;34m ┊┊┊ 🎆 \e[0m Find Notes based on FileName"
|
||||||
echo -e " 🔎 \e[1;32m search \e[0m \e[1;34m ┊┊┊ \e[0m Search through Notes using Recoll"
|
echo -e " 🔎 \e[1;32m search \e[0m \e[1;34m ┊┊┊ 📁 \e[0m Search through Notes using Recoll"
|
||||||
echo -e " 🏷 \e[1;33m tags \e[0m \e[1;34m ┊┊┊ \e[0m Use TMSU to work with tags"
|
echo -e " 🏷 \e[1;33m tags \e[0m \e[1;34m ┊┊┊ \e[0m Use TMSU to work with tags"
|
||||||
echo -e " 🔧 \e[1;34m tools \e[0m \e[1;34m ┊┊┊ \e[0m Tools for Editing"
|
echo -e " 🔧 \e[1;34m tools \e[0m \e[1;34m ┊┊┊ \e[0m Tools for Editing"
|
||||||
echo -e " 📝 \e[1;35m export \e[0m \e[1;34m ┊┊┊ \e[0m Export Notes to Different Formats "
|
echo -e " 📝 \e[1;35m export \e[0m \e[1;34m ┊┊┊ \e[0m Export Notes to Different Formats "
|
||||||
@@ -98,7 +98,6 @@ arguments () {
|
|||||||
|
|
||||||
function NoteFind() {
|
function NoteFind() {
|
||||||
|
|
||||||
[[ -z "${@}" ]] && NoteFind.sh -h && exit 0
|
|
||||||
NoteFind.sh "${@:-}"
|
NoteFind.sh "${@:-}"
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user