提交 3dc733bb 编写于 作者: M Martin Kletzander

virsh: fix few typos on desc command

virsh help fix:
 - <--title> can also /get/ the title

virsh man page:
 - missing <domain-id>
 - <new_desc> should be <new-desc>
上级 830d035f
...@@ -1227,7 +1227,7 @@ static const vshCmdOptDef opts_desc[] = { ...@@ -1227,7 +1227,7 @@ static const vshCmdOptDef opts_desc[] = {
{"live", VSH_OT_BOOL, 0, N_("modify/get running state")}, {"live", VSH_OT_BOOL, 0, N_("modify/get running state")},
{"config", VSH_OT_BOOL, 0, N_("modify/get persistent configuration")}, {"config", VSH_OT_BOOL, 0, N_("modify/get persistent configuration")},
{"current", VSH_OT_BOOL, 0, N_("modify/get current state configuration")}, {"current", VSH_OT_BOOL, 0, N_("modify/get current state configuration")},
{"title", VSH_OT_BOOL, 0, N_("modify the title instead of description")}, {"title", VSH_OT_BOOL, 0, N_("modify/get the title instead of description")},
{"edit", VSH_OT_BOOL, 0, N_("open an editor to modify the description")}, {"edit", VSH_OT_BOOL, 0, N_("open an editor to modify the description")},
{"new-desc", VSH_OT_ARGV, 0, N_("message")}, {"new-desc", VSH_OT_ARGV, 0, N_("message")},
{NULL, 0, 0, NULL} {NULL, 0, 0, NULL}
......
...@@ -497,8 +497,9 @@ Define a domain from an XML <file>. The domain definition is registered ...@@ -497,8 +497,9 @@ Define a domain from an XML <file>. The domain definition is registered
but not started. If domain is already running, the changes will take but not started. If domain is already running, the changes will take
effect on the next boot. effect on the next boot.
=item B<desc> [[I<--live>] [I<--config>] | [I<--current>]] [I<--title>] =item B<desc> I<domain-id> [[I<--live>] [I<--config>] |
[I<--edit>] [I<--new-desc> New description or title message] [I<--current>]] [I<--title>] [I<--edit>] [I<--new-desc>
New description or title message]
Show or modify description and title of a domain. These values are user Show or modify description and title of a domain. These values are user
fields that allow to store arbitrary textual data to allow easy fields that allow to store arbitrary textual data to allow easy
...@@ -516,7 +517,7 @@ description or title should be opened and the contents saved back afterwards. ...@@ -516,7 +517,7 @@ description or title should be opened and the contents saved back afterwards.
Flag I<--title> selects operation on the title field instead of description. Flag I<--title> selects operation on the title field instead of description.
If neither of I<--edit> and I<--new_desc> are specified the note or description If neither of I<--edit> and I<--new-desc> are specified the note or description
is displayed instead of being modified. is displayed instead of being modified.
=item B<destroy> I<domain-id> [I<--graceful>] =item B<destroy> I<domain-id> [I<--graceful>]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册