Mandatory arguments with cmdargs

后端 未结 0 1358
小蘑菇
小蘑菇 2020-12-29 03:06

Using cmdargs, is there a convenient way to print an error message and exit if a mandatory argument is missing? E.g. right now I have something like:

<         


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