The short form string should include each valid option letter, followed by a colon (:) to indicate that the command line option should be followed by a value.
短形式字符串应该包含每个有效的选项字母,每个字母后面是一个冒号 (:),这表示命令行选项后面应该是一个值。
To see the value of debugging using the command line, let's start with the really, really bad PHP file shown below.
为了查看使用命令行调试的值,让我们从下面所示的非常非常糟糕的PHP文件开始。
Consider the situation where you might want to have a command line option (for example, to enable debugging) that doesn't require a value.
考虑一下某个命令行选项不需要值的情况(例如启用调试的选项)。
应用推荐