mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
virsh: Remove uncommon redundant descriptions of virsh commands
Some description of virsh commands referenced itself in a multi-line example of usage, which is pointless as virsh help already shows how to use the command: .data = N_("Get or set the current memory parameters for a guest" " domain.\n" " To get the memory parameters use following command: \n\n" " virsh # memtune <domain>") Change it to just state what the command does and leave the example for the help printer. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
3b0b43b485
commit
21f64f2acd
@ -1528,10 +1528,7 @@ static const vshCmdInfo info_blkiotune[] = {
|
|||||||
.data = N_("Get or set blkio parameters")
|
.data = N_("Get or set blkio parameters")
|
||||||
},
|
},
|
||||||
{.name = "desc",
|
{.name = "desc",
|
||||||
.data = N_("Get or set the current blkio parameters for a guest"
|
.data = N_("Get or set the current blkio parameters for a guest domain.")
|
||||||
" domain.\n"
|
|
||||||
" To get the blkio parameters use following command: \n\n"
|
|
||||||
" virsh # blkiotune <domain>")
|
|
||||||
},
|
},
|
||||||
{.name = NULL}
|
{.name = NULL}
|
||||||
};
|
};
|
||||||
@ -9238,10 +9235,7 @@ static const vshCmdInfo info_memtune[] = {
|
|||||||
.data = N_("Get or set memory parameters")
|
.data = N_("Get or set memory parameters")
|
||||||
},
|
},
|
||||||
{.name = "desc",
|
{.name = "desc",
|
||||||
.data = N_("Get or set the current memory parameters for a guest"
|
.data = N_("Get or set the current memory parameters for a guest domain.")
|
||||||
" domain.\n"
|
|
||||||
" To get the memory parameters use following command: \n\n"
|
|
||||||
" virsh # memtune <domain>")
|
|
||||||
},
|
},
|
||||||
{.name = NULL}
|
{.name = NULL}
|
||||||
};
|
};
|
||||||
@ -9413,10 +9407,7 @@ static const vshCmdInfo info_perf[] = {
|
|||||||
.data = N_("Get or set perf event")
|
.data = N_("Get or set perf event")
|
||||||
},
|
},
|
||||||
{.name = "desc",
|
{.name = "desc",
|
||||||
.data = N_("Get or set the current perf events for a guest"
|
.data = N_("Get or set the current perf events for a guest domain.")
|
||||||
" domain.\n"
|
|
||||||
" To get the perf events list use following command: \n\n"
|
|
||||||
" virsh # perf <domain>")
|
|
||||||
},
|
},
|
||||||
{.name = NULL}
|
{.name = NULL}
|
||||||
};
|
};
|
||||||
@ -9545,10 +9536,7 @@ static const vshCmdInfo info_numatune[] = {
|
|||||||
.data = N_("Get or set numa parameters")
|
.data = N_("Get or set numa parameters")
|
||||||
},
|
},
|
||||||
{.name = "desc",
|
{.name = "desc",
|
||||||
.data = N_("Get or set the current numa parameters for a guest"
|
.data = N_("Get or set the current numa parameters for a guest domain.")
|
||||||
" domain.\n"
|
|
||||||
" To get the numa parameters use following command: \n\n"
|
|
||||||
" virsh # numatune <domain>")
|
|
||||||
},
|
},
|
||||||
{.name = NULL}
|
{.name = NULL}
|
||||||
};
|
};
|
||||||
|
@ -1505,9 +1505,7 @@ cmdVersion(vshControl *ctl, const vshCmd *cmd G_GNUC_UNUSED)
|
|||||||
|
|
||||||
static const vshCmdInfo info_node_memory_tune[] = {
|
static const vshCmdInfo info_node_memory_tune[] = {
|
||||||
{"help", N_("Get or set node memory parameters")},
|
{"help", N_("Get or set node memory parameters")},
|
||||||
{"desc", N_("Get or set node memory parameters\n"
|
{"desc", N_("Get or set node memory parameters")},
|
||||||
" To get the memory parameters, use following command: \n\n"
|
|
||||||
" virsh # node-memory-tune")},
|
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user