]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh: update comment about parsing
authorEric Blake <eblake@redhat.com>
Tue, 12 Oct 2010 22:23:18 +0000 (16:23 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 13 Oct 2010 13:52:33 +0000 (07:52 -0600)
* tools/virsh.c: Update comments to match patch series.

tools/virsh.c

index 4929f711984ff343ff0fd956dbff9fe96644538c..89c2e1e3e7092a5bec60ae9a86fbf0b6ca42402e 100644 (file)
@@ -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\\'"]|\\.))+
  *
  */