notmuch-emacs-mua: move --client option handling around

Move --client handling to a more suitable location. No functional
changes.
This commit is contained in:
Jani Nikula 2015-08-15 12:05:13 +03:00 committed by David Bremner
parent 0aa74d3241
commit cb4e73b736

View file

@ -82,9 +82,6 @@ while getopts :s:c:b:i:h opt; do
--help|h)
exec man notmuch-emacs-mua
;;
--client)
USE_EMACSCLIENT="yes"
;;
--subject|s)
ELISP="${ELISP} (message-goto-subject) (insert \"${OPTARG}\")"
;;
@ -107,6 +104,9 @@ while getopts :s:c:b:i:h opt; do
NO_WINDOW="-nw"
CREATE_FRAME=
;;
--client)
USE_EMACSCLIENT="yes"
;;
*)
# We should never end up here.
echo "$0: internal error (option ${opt})." >&2