6WIND / zrpcd

Zebra/Quagga RPC communicator to handle Quagga framework from a SDN controller
GNU General Public License v2.0
5 stars 10 forks source link

Long options fail #13

Open rski opened 7 years ago

rski commented 7 years ago

Expected: The usage is printed and exit code is 0

actual:

root@node-7:~# /opt/quagga/sbin/zrpcd --help
/opt/quagga/sbin/zrpcd: invalid option -- '-'
Usage : zrpcd [OPTION...]

Daemon which manages rpc configuration/updates from/to quagga

zrpc configuration across thrift defined model : vpnservice.

-p, --thrift_port           Set thrift's config port number
-P, --thrift_notif_port     Set thrift's notif update port number
-N, --thrift_notif_address  Set thrift's notif update specified address
-h, --help                  Display this help and exit

root@node-7:~# echo $?
1