open-iscsi / open-isns

iSNS server and client for Linux
GNU Lesser General Public License v2.1
26 stars 22 forks source link

isnsadm: Fix unparse command line options "-V" and "-r" #37

Closed wenchao-hao closed 2 years ago

wenchao-hao commented 2 years ago

Following error would reported:

root@fedora:# isnsadm -V isnsadm: invalid option -- 'V' Error: Unknown option

root@fedora:# isnsadm -r isnsadm: invalid option -- 'r' Error: Unknown option

This is because we did not add "V" and "r" to parameter when calling getopt_long()

Signed-off-by: Wenchao Hao haowenchao@huawei.com

gonzoleeman commented 2 years ago

Thank you!