How to use boost::program_options to accept an optional flag?

前端 未结 0 1483
南旧
南旧 2021-02-12 08:01

I need to implement an optional flag, say -f/--flag. Since this is a flag, there is no value associated. In my code I only need to know whether the fla

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