Is there a “standard” format for command line/shell help text?

前端 未结 8 1437
难免孤独
难免孤独 2020-11-30 16:30

If not, is there a de facto standard? Basically I\'m writing a command line help text like so:

usage: app_name [opti         


        
8条回答
  •  既然无缘
    2020-11-30 16:37

    I would follow official projects like tar as an example. In my opinion help msg. needs to be simple and descriptive as possible. Examples of use are good too. There is no real need for "standard help".

提交回复
热议问题