命令行语法约定
Categories:
- 命令行语法约定
参考
- https://www.ibm.com/docs/en/iotdm/11.3?topic=interface-command-line-syntax
- https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/command-line-syntax-key
- https://developers.google.com/style/code-syntax
- https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html#tag_12_01
- https://ftpdocs.broadcom.com/cadocs/0/CA%20ARCserve%20%20Backup%20r16-CHS/Bookshelf_Files/HTML/cmndline/cl_cmd_line_syntax_char.htm
e.g.
Notation | Description |
---|---|
Text without brackets or braces | Items you must type as shown. |
< Text inside angle brackets> | Placeholder for which you must supply a value. |
[ Text inside square brackets] | Optional items. |
{ Text inside braces} | Set of required items. You must choose one. |
Vertical bar ( | ) | Separator for mutually exclusive items. You must choose one. |
Ellipsis (… ) | Items that can be repeated and used multiple times. |