ia64/xen-unstable

changeset 11963:410df40afc01

[TOOLS][XENTOP] Update usage and manpage to include vbd options.

Also a couple of whitespace fixes.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
author kfraser@localhost.localdomain
date Wed Oct 25 10:25:18 2006 +0100 (2006-10-25)
parents a661566745ae
children 0c7923eb6b98
files tools/xenstat/xentop/xentop.1 tools/xenstat/xentop/xentop.c
line diff
     1.1 --- a/tools/xenstat/xentop/xentop.1	Tue Oct 24 16:46:02 2006 +0100
     1.2 +++ b/tools/xenstat/xentop/xentop.1	Wed Oct 25 10:25:18 2006 +0100
     1.3 @@ -47,6 +47,9 @@ seconds between updates (default 3)
     1.4  \fB\-n\fR, \fB\-\-networks\fR
     1.5  output network information
     1.6  .TP
     1.7 +\fB\-x\fR, \fB\-\-vbds\fR
     1.8 +output vbd block device data
     1.9 +.TP
    1.10  \fB\-r\fR, \fB\-\-repeat\-header\fR
    1.11  repeat table header before each domain
    1.12  .TP
     2.1 --- a/tools/xenstat/xentop/xentop.c	Tue Oct 24 16:46:02 2006 +0100
     2.2 +++ b/tools/xenstat/xentop/xentop.c	Wed Oct 25 10:25:18 2006 +0100
     2.3 @@ -204,7 +204,7 @@ static void usage(const char *program)
     2.4  	       "-V, --version        output version information and exit\n"
     2.5  	       "-d, --delay=SECONDS  seconds between updates (default 3)\n"
     2.6  	       "-n, --networks       output vif network data\n"
     2.7 -	       "-b, --vbds           output vbd block device data\n"
     2.8 +	       "-x, --vbds           output vbd block device data\n"
     2.9  	       "-r, --repeat-header  repeat table header before each domain\n"
    2.10  	       "-v, --vcpus          output vcpu data\n"
    2.11  	       "-b, --batch	     output in batch mode, no user input accepted\n"
    2.12 @@ -976,7 +976,7 @@ int main(int argc, char **argv)
    2.13  		{ "help",          no_argument,       NULL, 'h' },
    2.14  		{ "version",       no_argument,       NULL, 'V' },
    2.15  		{ "networks",      no_argument,       NULL, 'n' },
    2.16 - 		{ "vbds",          no_argument,       NULL, 'x' },
    2.17 +		{ "vbds",          no_argument,       NULL, 'x' },
    2.18  		{ "repeat-header", no_argument,       NULL, 'r' },
    2.19  		{ "vcpus",         no_argument,       NULL, 'v' },
    2.20  		{ "delay",         required_argument, NULL, 'd' },
    2.21 @@ -1065,7 +1065,7 @@ int main(int argc, char **argv)
    2.22  					break;
    2.23  			} while (1);
    2.24  	}
    2.25 -	
    2.26 +
    2.27  	/* Cleanup occurs in cleanup(), so no work to do here. */
    2.28  
    2.29  	return 0;