summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorWanlong Gao <gaowanlong@cn.fujitsu.com>2012-09-26 17:20:27 +0800
committerRichard W.M. Jones <rjones@redhat.com>2012-09-26 10:26:01 +0100
commitf7f746a98e8d378ac8934a7f7b82a48b3e2a5aa4 (patch)
treec53497dd23eeb771efe5bf6190bacb9638e68e2e /rescue
parent19b29c36370beb76fd3f3a1f45289ce34c03e3c3 (diff)
downloadlibguestfs-f7f746a98e8d378ac8934a7f7b82a48b3e2a5aa4.tar.gz
libguestfs-f7f746a98e8d378ac8934a7f7b82a48b3e2a5aa4.tar.xz
libguestfs-f7f746a98e8d378ac8934a7f7b82a48b3e2a5aa4.zip
remove the useless "h" option
"h" option is not enabled in virt-cat, remove it. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Diffstat (limited to 'rescue')
-rw-r--r--rescue/virt-rescue.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/rescue/virt-rescue.c b/rescue/virt-rescue.c
index f9142e82..c0e5f562 100644
--- a/rescue/virt-rescue.c
+++ b/rescue/virt-rescue.c
@@ -217,9 +217,6 @@ main (int argc, char *argv[])
OPTION_d;
break;
- case 'h':
- usage (EXIT_SUCCESS);
-
case 'm':
if (sscanf (optarg, "%u", &memsize) != 1) {
fprintf (stderr, _("%s: could not parse memory size '%s'\n"),