[Sheepdog] [PATCH] shepherd: add header to the vdi list

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon May 10 12:48:36 CEST 2010


Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 shepherd/shepherd.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/shepherd/shepherd.c b/shepherd/shepherd.c
index fa51ebe..8614f84 100644
--- a/shepherd/shepherd.c
+++ b/shepherd/shepherd.c
@@ -707,6 +707,9 @@ static struct subcommand vm_cmd[] = {
 
 static int vdi_list(int argc, char **argv)
 {
+	printf("  name        id    size    used  shared    creation time   vdi id\n");
+	printf("------------------------------------------------------------------\n");
+
 	parse_vdi(print_vdi_list, NULL);
 	return 0;
 }
-- 
1.5.6.5




More information about the sheepdog mailing list