Use one character flag for options parser.
Merge pull request #1766 from Zhengzi/UIdefects

change the method to copy an XMLNode.