Why does my program output an argument twice in usage ([-d?] and [-d|--data])? (i'm using popt library for options parsing)

后端 未结 0 847
忘了有多久
忘了有多久 2021-02-05 21:41

The program usage outputs -d option twice, though I provide it only once in struct poptOption. This is the usage output:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题