]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-emacs-mua
notmuch-emacs-mua: move --client option handling around
[notmuch] / notmuch-emacs-mua
index e33aa955d6b559faf7e618a14b27717a9dd5928c..1f088c42feb90d16e5933083789819aac3edf794 100755 (executable)
@@ -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