close #1747 XplHub is still using Optparse