[Libguestfs] [PATCH] virt-cat: remove the useless "h" option

Wanlong Gao gaowanlong at cn.fujitsu.com
Wed Sep 26 08:36:51 UTC 2012


"h" option is not enabled in virt-cat, remove it.

Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
 cat/virt-cat.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/cat/virt-cat.c b/cat/virt-cat.c
index 2a6b64f..5ea461e 100644
--- a/cat/virt-cat.c
+++ b/cat/virt-cat.c
@@ -158,9 +158,6 @@ main (int argc, char *argv[])
       OPTION_d;
       break;
 
-    case 'h':
-      usage (EXIT_SUCCESS);
-
     case 'v':
       OPTION_v;
       break;
-- 
1.7.12.1.401.gb5d156c




More information about the Libguestfs mailing list