X-Git-Url: https://projects.mako.cc/source/muttjump/blobdiff_plain/a8256668f94e9b17203d58025cb8220dd965c4be..95f0235d5cc8121a08d7f02f7a1c3a489697573d:/muttjump 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