]> xenbits.xensource.com Git - libvirt.git/commitdiff
virsh: Fix comment of vshCmdInfo
authorLi Yang <liyang.fnst@cn.fujitsu.com>
Fri, 4 Apr 2014 07:18:54 +0000 (15:18 +0800)
committerJán Tomko <jtomko@redhat.com>
Wed, 9 Apr 2014 14:29:58 +0000 (16:29 +0200)
The original comment of vshCmdInfo:
"name" - command name

Actually it's 'help' and the short description
of command, not the command name.

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
tools/virsh.h

index 3e0251b621cc4d888c60f3da9fc9b8e772d00a40..1ffc003e7af51b13a259f51eff92bf050fa152a8 100644 (file)
@@ -154,7 +154,7 @@ typedef char **(*vshCompleter)(unsigned int flags);
  * vshCmdInfo -- name/value pair for information about command
  *
  * Commands should have at least the following names:
- * "name" - command name
+ * "help" - short description of command
  * "desc" - description of command, or empty string
  */
 struct _vshCmdInfo {