提交 59ce32b0 编写于 作者: E Eric Blake

virsh: update comment about parsing

* tools/virsh.c: Update comments to match patch series.
上级 ce828d10
......@@ -100,18 +100,18 @@ typedef enum {
*
* command_line = <command>\n | <command>; <command>; ...
*
* command = <keyword> <option> <data>
* command = <keyword> <option> [--] <data>
*
* option = <bool_option> | <int_option> | <string_option>
* data = <string>
*
* bool_option = --optionname
* int_option = --optionname <number>
* string_option = --optionname <string>
* int_option = --optionname <number> | --optionname=<number>
* string_option = --optionname <string> | --optionname=<string>
*
* keyword = [a-zA-Z]
* keyword = [a-zA-Z][a-zA-Z-]*
* number = [0-9]+
* string = [^[:blank:]] | "[[:alnum:]]"$
* string = ('[^']*'|"([^\\"]|\\.)*"|([^ \t\n\\'"]|\\.))+
*
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册