【发布时间】:2014-11-21 20:42:51
【问题描述】:
我正在编写我的第一个真正的 shell 脚本,我想输入正确的 --help 消息。查看各种命令行程序,我至少看到了某种模式:
$ command --help
Usage: command [OPTION] [FILE]
Performs some action to a file.
-x changes the command in some way
-y changes the command in a different way
这是写在任何地方还是只是一个非正式的约定?
【问题讨论】:
标签: bash shell command-line-interface