[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xl: Add help for 'xl info' command
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1272969859 -3600 # Node ID 9ea03a5209ff3c9784f1ca45ca0f9eeaab159347 # Parent 843a42e726cc774780b80a1206342e24211a2252 xl: Add help for 'xl info' command Signed-off-by: Yang Hongyang <yanghy@xxxxxxxxxxxxxx> --- tools/libxl/xl_cmdimpl.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletion(-) diff -r 843a42e726cc -r 9ea03a5209ff tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Tue May 04 11:38:24 2010 +0100 +++ b/tools/libxl/xl_cmdimpl.c Tue May 04 11:44:19 2010 +0100 @@ -1173,6 +1173,9 @@ void help(char *command) } else if (!strcmp(command, "vcpu-set")) { printf("Usage: xl vcpu-set <Domain> <vCPUs>\n\n"); printf("Set the number of active VCPUs for allowed for the domain.\n\n"); + } else if(!strcmp(command, "info")) { + printf("Usage: xl info\n\n"); + printf("Get information about Xen host.\n\n"); } else if (!strcmp(command, "sched-credit")) { printf("Usage: xl sched-credit [-d <Domain> [-w[=WEIGHT]|-c[=CAP]]]\n\n"); printf("Get/set credit scheduler parameters.\n"); @@ -2731,7 +2734,7 @@ int main_info(int argc, char **argv) while ((opt = getopt(argc, argv, "h")) != -1) { switch (opt) { case 'h': - help("vcpu-list"); + help("info"); exit(0); default: fprintf(stderr, "option `%c' not supported.\n", opt); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |