Blame SOURCES/0035-v2v-Ensure-bridge-and-network-args-are-documented-co.patch

0d20ef
From 0d62524f6318979bdb5226c87bf0c7155d110879 Mon Sep 17 00:00:00 2001
0d20ef
From: "Richard W.M. Jones" <rjones@redhat.com>
0d20ef
Date: Mon, 3 Nov 2014 19:38:12 +0000
0d20ef
Subject: [PATCH] v2v: Ensure --bridge and --network args are documented
0d20ef
 correctly in --help output.
0d20ef
0d20ef
(cherry picked from commit 39f524d79b10a3654ee4879951a3ef8dcc99a46f)
0d20ef
---
0d20ef
 v2v/cmdline.ml | 4 ++--
0d20ef
 1 file changed, 2 insertions(+), 2 deletions(-)
0d20ef
0d20ef
diff --git a/v2v/cmdline.ml b/v2v/cmdline.ml
0d20ef
index 9c3253e..69a627f 100644
0d20ef
--- a/v2v/cmdline.ml
0d20ef
+++ b/v2v/cmdline.ml
0d20ef
@@ -144,7 +144,7 @@ let parse_cmdline () =
0d20ef
   let ditto = " -\"-" in
0d20ef
   let argspec = Arg.align [
0d20ef
     "-b",        Arg.String add_bridge,     "in:out " ^ s_"Map bridge 'in' to 'out'";
0d20ef
-    "--bridge",  Arg.String add_bridge,     ditto;
0d20ef
+    "--bridge",  Arg.String add_bridge,     "in:out " ^ ditto;
0d20ef
     "--debug-gc",Arg.Set debug_gc,          " " ^ s_"Debug GC and memory allocations";
0d20ef
     "--debug-overlay",Arg.Set debug_overlays,
0d20ef
     " " ^ s_"Save overlay files";
0d20ef
@@ -157,7 +157,7 @@ let parse_cmdline () =
0d20ef
     "--long-options", Arg.Unit display_long_options, " " ^ s_"List long options";
0d20ef
     "--machine-readable", Arg.Set machine_readable, " " ^ s_"Make output machine readable";
0d20ef
     "-n",        Arg.String add_network,    "in:out " ^ s_"Map network 'in' to 'out'";
0d20ef
-    "--network", Arg.String add_network,    ditto;
0d20ef
+    "--network", Arg.String add_network,    "in:out " ^ ditto;
0d20ef
     "--no-copy", Arg.Clear do_copy,         " " ^ s_"Just write the metadata";
0d20ef
     "--no-trim", Arg.String set_no_trim,    "all|mp,mp,.." ^ s_"Don't trim selected mounts";
0d20ef
     "-o",        Arg.String set_output_mode, o_options ^ " " ^ s_"Set output mode (default: libvirt)";
0d20ef
-- 
0d20ef
1.8.3.1
0d20ef