adapt for mutt query_command