mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
virsh: update comment about parsing
* tools/virsh.c: Update comments to match patch series.
This commit is contained in:
parent
ce828d1015
commit
59ce32b0dd
@ -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\\'"]|\\.))+
|
||||
*
|
||||
*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user