HAWQ-1378. Elaborate the "invalid command-line arguments for server process" error.
HAWQ-1378. Elaborate the "invalid command-line arguments for server process" error.

This patch mostly follows the pg commit below.

commit 86947e666d39229558311d7b0be45608fd071ed8
Author: Peter Eisentraut <peter_e@gmx.net>
Date:   Sun Mar 11 01:52:05 2012 +0200

    Add more detail to error message for invalid arguments for server process

    It now prints the argument that was at fault.

    Also fix a small misbehavior where the error message issued by
    getopt() would complain about a program named "--single", because
    that's what argv[0] is in the server process.

jianlirong/incubator-hawq,huor/incubator-hawq,wengyanqing/incubator-hawq,wengyanqing/incubator-hawq,huor/incubator-hawq,huor/incubator-hawq,stanlyxiang/incubator-hawq,jianlirong/incubator-hawq,stanlyxiang/incubator-hawq,outofmem0ry/incubator-hawq,jianlirong/incubator-hawq,lavjain/incubator-hawq,outofmem0ry/incubator-hawq,stanlyxiang/incubator-hawq,lavjain/incubator-hawq,outofmem0ry/incubator-hawq,jianlirong/incubator-hawq,lavjain/incubator-hawq,stanlyxiang/incubator-hawq,wengyanqing/incubator-hawq,lavjain/incubator-hawq,huor/incubator-hawq,jianlirong/incubator-hawq,lavjain/incubator-hawq,stanlyxiang/incubator-hawq,lavjain/incubator-hawq,wengyanqing/incubator-hawq,lavjain/incubator-hawq,outofmem0ry/incubator-hawq,jianlirong/incubator-hawq,huor/incubator-hawq,outofmem0ry/incubator-hawq,huor/incubator-hawq,stanlyxiang/incubator-hawq,wengyanqing/incubator-hawq,jianlirong/incubator-hawq,wengyanqing/incubator-hawq,lavjain/incubator-hawq,outofmem0ry/incubator-hawq,wengyanqing/incubator-hawq,outofmem0ry/incubator-hawq,outofmem0ry/incubator-hawq,huor/incubator-hawq,jianlirong/incubator-hawq,stanlyxiang/incubator-hawq,wengyanqing/incubator-hawq