This is achieved by checking whether the corresponding variable has been set and adding the option to the command line.
这是通过检查对应的变量是否已设置并将该选项添加到命令行来实现的。
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.
短形式字符串应该包含每个有效的选项字母,每个字母后面是一个冒号 (:),这表示命令行选项后面应该是一个值。
Go to the console TAB and select the command prompt option.
转到控制台选项卡并选择命令提示选项。
The number of lines skipped after each breakpoint can be modified using the SKIP option in the BREAK command.
每个断点后跳过的行的数量可以使用BREAK命令的SKIP选项进行修改。
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 command causes the THREAD option to be included as a default invocation option.
该命令包含THREAD选项,将它用作默认的调用选项。
To do this, you have the option of issuing a command in command CLP or in a guided GUI wizard.
可以在命令CLP中使用命令或在GUI向导中进行这个设置。
To install to a different file system, specify the — prefix option on the RPM command. For example.
要将它安装到不同的文件系统中,需要在rpm命令中指定——prefix选项。
CommandName options - Invokes an admin command with the specified option strings.
commandName options——使用指定的选项字符串调用管理命令。
Listing 5. Information returned by the "info" option on the db2trc command.
清单5.db 2 trc命令的“info ”选项所返回的信息。
Specifying the X option runs ProbeVue for the duration of the command specified with the X option.
指定—x选项,这会在指定的命令执行期间运行ProbeVue。
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.
最后,若要将所有的输入参数与同一个命令行选项相关联,您需要使用值- 1将该命令行选项添加到positional_options_description对象。
Since the -debug command line option is specified, you'll see some startup messages that were directed to stdout.
由于已经指定了-debug命令行参数,您将会看到定向到标准输出的一些启动消息。
You do this by using the -g option on the db2advis command, as shown in Listing 6.
为此,您需要在db2advis上使用- g选项,如清单6所示。
Command-line processing typically requires both a short and a long name for the same command option.
命令行处理通常同时需要同一个命令选项的短名称和长名称。
The -H option dereferences links on the command line and the -L option dereferences those plus links that are part of the display.
H选项取消引用命令行上的链接,而-L 选项取消引用属于显示内容一部分的附加链接。
The -verbose: gc command-line option produces trace data containing gc statistics including the heap occupancy.
gc命令行选项生成包含gc统计数据(包括堆占用情况)的跟踪数据。
To get the information in 1k blocks, use the -k command-line option, as shown in Listing 2.
要获得以1k块为单位的信息,可以使用- k命令行选项,如清单2所示。
For example, in the code above we used -d "for the command line option defining a name-value pair."
比方说,在上面的代码中我们用“- D”这一命令行选项来定义名-值对。
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.
一个命令行选项可以缩减输出记录,只显示在命令行上提供的每个字符串的ewu值。
Because the -g option is specified from the command line, the hash table is generated in global scope.
由于命令行中指定了- g选项,将在全局范围内生成散列表。
To extend the search for input files to include subdirectories, add the -recurse option to the command.
如果要将输入文件的搜索扩展为包含子目录,可向命令中添加-recurse选项。
The -p option displays each fabricated command and prompts you for authorization.
p选项显示每个合成的命令,并提示您进行确认。
The -t option echoes each command to stderr before each command is executed.
t选项可以在执行每个命令之前将命令回显到stderr。
This example shows the importance of the -m option in the db2look command.
该示例显示了db2look命令中- m选项的重要性。
Because we specified the -t option on the db2trc command, relative timestamps are also included in the output.
因为我们为db 2 trc命令指定了- t选项,因此输出中还包括相对时间戳。
When used with the -root option, the XWD command is non-interactive because you are capturing everything.
在使用-root选项时,xwd命令不是交互式的,因为要捕获屏幕上的所有东西。
If something was wrong, it returns an error code that is documented under the verify option for the command-line tool.
如果有地方出了问题,则返回一个错误代码,该代码被记录在命令行工具的verify选项下。
The -q option in the command for the COBOL programs passes the THREAD compiler option to compiler.
用于COBOL程序的命令中的- q选项将THREAD编译器选项传递给编译器。
This effectively increases the number of simultaneous compilations that can occur, just as if you had used the multiple jobs option with make (with the -j command line option).
只需要为make添加多任务选项(使用-j命令行选项),它就可以有效地提高同步编译的数目。
应用推荐