fix #6361 (invalid expression aborts help mode)