X-Git-Url: https://projects.mako.cc/source/muttjump/blobdiff_plain/a8256668f94e9b17203d58025cb8220dd965c4be..ec6f8c60486f5aa0ce7ab265d56e150bc4a65663:/muttjump?ds=sidebyside diff --git a/muttjump b/muttjump index efdfb20..4ba392f 100755 --- a/muttjump +++ b/muttjump @@ -70,16 +70,31 @@ function is_callable () { type $1 >/dev/null 2>&1 } -# Check command-line arguments and STDIN -if tty -s || [ $# -ne 0 ] ; then +function usage () { cat >&2 <$/\1/') +msgid_clean=$(echo "$msgid" | sed -e 's/^$//') # try to locate path of message using a mail search engine case $MUTTJUMP_INDEXER in