注意,程序的名字只是命令行值的第0个参数——不要相信程序名,因为攻击者会改变它。
Note that the name of the program is just argument number 0 in the command line values — don't trust the program name, since an attacker can change it.
在很多类unix系统上,命令行值和环境可以被其他用户看到,所以不是在进程间保密地发送数据的好办法。
On many UNIX-like systems, the command-line values and environment variable values can be viewed by other users, so they aren't a good way to privately send data between processes.
短形式字符串应该包含每个有效的选项字母,每个字母后面是一个冒号 (:),这表示命令行选项后面应该是一个值。
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.
这样,在程序中可以有有意义的默认值,但是如果需要,也可以用命令行选项覆盖它们。
In that way, you could have sensible defaults in a program, but override them with command-line options if you wanted.
您可能也希望从动态语言代码中获得变量的值,以通过命令行实现或者事件处理程序的方式来使用动态函数。
You may also want to get the values of variables from the dynamic language code to use dynamic functions as command implementations or event handlers.
为了查看使用命令行调试的值,让我们从下面所示的非常非常糟糕的PHP文件开始。
To see the value of debugging using the command line, let's start with the really, really bad PHP file shown below.
考虑一下某个命令行选项不需要值的情况(例如启用调试的选项)。
Consider the situation where you might want to have a command line option (for example, to enable debugging) that doesn't require a value.
这将能使用在命令行中传入的颜色值。
This will enable the usage of the color values you passed in on the command line.
请记住,getopt库例程本质上是通用的,而且并非每个命令行选项都有相关联的值。
Remember that the getopt library routine is general in nature, and not every command line option is expected to have an associated value.
访问类有一个命令行参数,该参数必须是一个值为int的bean类属性的名字(value1或者value2)。
The access class takes a single command line argument that must be the name of one of the int-valued bean class properties (value1 or value2).
只要在命令行中随getenv调用传入变量的名称,就可以得到它的当前值。
Simply provide the name on the command line, pass it along to the getenv call, and you'll get its current value.
如果必需的值之一是None,就意味着没有指定一个命令行选项。
If one of the required values is None, this means that one of the command line option was not specified.
在合适的情况下,您的示例应该指定有效的脚本命令行选项、各个选项的所有允许值的列表,以及相应的缺省值。
Your sample should specify the valid script command line options, a list of all allowed values for each option, and the default values, when appropriate.
在进行实例化的时候,激活引擎使用用户在其自定义激活配置文件中所提供的特定值,将这些命令行选项传递到激活脚本。
At instantiation time, the activation engine USES the specific values provided by the user in his customized activation profile to pass the command line options to the activation scripts.
脚本在新的、克隆的虚拟机第一次启动时执行,并且将从虚拟软盘的XML文件中获得的命令行的值传递到这些脚本。
Scripts execute at first boot of a new cloned virtual machine and are passed command line values obtained from the XML file on a virtual floppy disk.
这个值以命令行参数的形式传递给测试用例。
You pass this value as a command-line parameter to the test case.
ESP(堆栈顶部)存储传递给程序的命令行参数数量,默认值是1(表示没有命令行参数)。
ESP or the top of the stack stores the number of command line arguments supplied to a program, which is 1 by default (for no command line arguments).
可以看到,触发器消息作为单个值传递,该值包含几个可识别的字段,比如程序、队列管理器、队列名称以及命令行。
As you can see, the trigger message is passed as a single value that contains several recognizable fields such as the program, queue manager, and queue names, as well as the command line.
比方说,在上面的代码中我们用“- D”这一命令行选项来定义名-值对。
For example, in the code above we used -d "for the command line option defining a name-value pair."
一个命令行选项可以缩减输出记录,只显示在命令行上提供的每个字符串的ewu值。
A command-line option is provided to minimize the output record to only display the EWU value for each character string provided on the command line.
不要使用命令行参数来设置帐户状态,您要在构建文件中设置一个字符串值,任务会使用字符串值更新状态。
Instead of using the command-line parameter to set the account's status, you'll set a string value in the build file, and the task will use the string value to update the status.
这是配置属性的一种方法,如果缺少命令行或者代码驱动的设置,那么客户机将使用jndi . properties中的值。
This is one way to configure the properties; in the absence of command-line or code-driven setup, the client will use values from jndi.properties.
它还为此脚本设置了某些默认值,然后使用标准的Bashshell的getopt函数解析这些命令行参数(清单7给出了这个使用消息的输出)。
It also sets some default values for the script, and then parses the command-line arguments using the standard Bash shell's getopt function. (Listing 7 shows the output of this usage message.)
在阅读了一个在线FFmpeg文档(参见参考资料)后,您可能会想要在命令行内更改这些参数的值和语法。
After you read an online FFmpeg documentation (see Resources), you may want to change the values and syntax of the parameters in the command line.
最后,若要将所有的输入参数与同一个命令行选项相关联,您需要使用值- 1将该命令行选项添加到positional_options_description对象。
Finally, to associate all the input parameters with the same command option, you add the command-line option to the positional_options_description object with value -1. Here's the code.
然后,在命令行上指定环境变量名和值。
Then from the command line, specify the environment variable name with its value.
它能以两种方式之一运行,带单个命令行参数,该参数应该是errno值,或不带任何参数。
It can be run in one of two ways, either with a single command line argument, which should be an errno value, or without any arguments.
在这个示例中,希望让getopt函数检查命令行中是否有任何选项字母,而且每个选项应该有一个值。
In this example, you want the getopt function to check for the existence of any of the option letters in that string, and each should have a value.
在激发rundsjob可执行文件时,为了从命令行设置一个变量,您必须通过带有变量名以及想要设置值的-v标记。
To set a variable from the command line when invoking the rundsjob executable file, you must pass the -v flag along with the variable name and value that you want to set it to.
这条 case 语句只是检查第二个命令行自变量,然后根据其值执行正确操作。
This case statement simply checks the second command-line argument, and performs the correct action, depending on its value. If we now type
应用推荐