search for: o_options

Displaying 13 results from an estimated 13 matches for "o_options".

Did you mean: no_options
2016 Jul 18
3
[PATCH 1/2] v2v: register also aliases of input/output modules
This makes them visible in the help text of -i and -o. --- v2v/input_disk.ml | 5 ++++- v2v/output_local.ml | 5 ++++- v2v/output_rhev.ml | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/v2v/input_disk.ml b/v2v/input_disk.ml index 17ad61d..508f16a 100644 --- a/v2v/input_disk.ml +++ b/v2v/input_disk.ml @@ -101,4 +101,7 @@ class input_disk input_format disk = object
2016 Jul 18
0
[PATCH 2/2] v2v: use Getopt.Symbol for few options
..." ], Getopt.Clear do_copy, s_"Just write the metadata"; [ L"no-trim" ], Getopt.String ("-", no_trim_warning), s_"Ignored for backwards compatibility"; - [ S 'o' ], Getopt.String (o_options, set_output_mode), s_"Set output mode (default: libvirt)"; - [ M"oa" ], Getopt.String ("sparse|preallocated", set_output_alloc), + [ S 'o' ], Getopt.Symbol (o_options, Modules_list.output_modules (), set_output_mode), s_"Set output mode...
2016 Jul 19
0
[PATCH v2 2/2] v2v: use Getopt.Symbol for few options
..." ], Getopt.Clear do_copy, s_"Just write the metadata"; [ L"no-trim" ], Getopt.String ("-", no_trim_warning), s_"Ignored for backwards compatibility"; - [ S 'o' ], Getopt.String (o_options, set_output_mode), s_"Set output mode (default: libvirt)"; - [ M"oa" ], Getopt.String ("sparse|preallocated", set_output_alloc), + [ S 'o' ], Getopt.Symbol (o_options, Modules_list.output_modules ~with_alias:true (), set_output_mode), s_&quot...
2016 Jul 19
2
[PATCH v2 1/2] v2v: register also aliases of input/output modules
Extend Modules_list to handle also aliases for input and output modules, and use this to register the existing aliases. --- v2v/input_disk.ml | 2 +- v2v/modules_list.ml | 25 +++++++++++++++++++++---- v2v/modules_list.mli | 8 ++++---- v2v/output_local.ml | 2 +- v2v/output_rhev.ml | 2 +- 5 files changed, 28 insertions(+), 11 deletions(-) diff --git a/v2v/input_disk.ml
2016 Apr 26
4
v2v: Remove --no-trim, --vmtype options and other fixes.
The first two patches implement the change discussed here: https://www.redhat.com/archives/libguestfs/2016-April/msg00178.html The third patch fixes the mapping of inspection data to OVF VmType which was inherited directly from old virt-v2v and had never been changed. It had a number of problems. The fourth patch is only slightly related to the others. It adds an extra slow test to ensure that
2016 Jun 24
2
[PATCH] RFC: OCaml tools: add and use a Getopt module
...b/getopt.cmo \ $(top_builddir)/mllib/common_utils.cmo \ $(top_builddir)/mllib/JSON.cmo \ $(top_builddir)/mllib/StatVFS.cmo \ diff --git a/v2v/cmdline.ml b/v2v/cmdline.ml index 1064987..ff0ab59 100644 --- a/v2v/cmdline.ml +++ b/v2v/cmdline.ml @@ -164,55 +164,47 @@ let parse_cmdline () = and o_options = String.concat "|" (Modules_list.output_modules ()) in - let ditto = " -\"-" in let argspec = [ - "-b", Arg.String add_bridge, "in:out " ^ s_"Map bridge 'in' to 'out'"; - "--bridge", Arg.S...
2016 Jun 27
0
Re: [PATCH] RFC: OCaml tools: add and use a Getopt module
...ommon_utils.cmo \ > $(top_builddir)/mllib/JSON.cmo \ > $(top_builddir)/mllib/StatVFS.cmo \ > diff --git a/v2v/cmdline.ml b/v2v/cmdline.ml > index 1064987..ff0ab59 100644 > --- a/v2v/cmdline.ml > +++ b/v2v/cmdline.ml > @@ -164,55 +164,47 @@ let parse_cmdline () = > and o_options = > String.concat "|" (Modules_list.output_modules ()) in > > - let ditto = " -\"-" in > let argspec = [ > - "-b", Arg.String add_bridge, "in:out " ^ s_"Map bridge 'in' to 'out'"; > -...
2016 Jul 18
0
[PATCH v2 2/3] mllib: Use L"..." and S '...' for long and short options.
...quot; ], Getopt.Clear do_copy, s_"Just write the metadata"; + [ L"no-trim" ], Getopt.String ("-", no_trim_warning), s_"Ignored for backwards compatibility"; - [ "-o" ], Getopt.String (o_options, set_output_mode), s_"Set output mode (default: libvirt)"; - [ "-oa" ], Getopt.String ("sparse|preallocated", set_output_alloc), + [ S 'o' ], Getopt.String (o_options, set_output_mode), s_"Set output mode (default: libvirt)"; + [...
2016 Jul 11
2
[PATCH v2] OCaml tools: add and use a Getopt module
...b/getopt.cmo \ $(top_builddir)/mllib/common_utils.cmo \ $(top_builddir)/mllib/JSON.cmo \ $(top_builddir)/mllib/StatVFS.cmo \ diff --git a/v2v/cmdline.ml b/v2v/cmdline.ml index 1a729ca..1cd30d7 100644 --- a/v2v/cmdline.ml +++ b/v2v/cmdline.ml @@ -164,55 +164,47 @@ let parse_cmdline () = and o_options = String.concat "|" (Modules_list.output_modules ()) in - let ditto = " -\"-" in let argspec = [ - "-b", Arg.String add_bridge, "in:out " ^ s_"Map bridge 'in' to 'out'"; - "--bridge", Arg.S...
2016 Jul 13
3
[PATCH v3 1/2] OCaml tools: add and use a Getopt module
...op_builddir)/mllib/getopt.cmo \ $(top_builddir)/mllib/common_utils.cmo \ $(top_builddir)/mllib/regedit.cmo \ stringMap.cmo \ diff --git a/v2v/cmdline.ml b/v2v/cmdline.ml index 1a729ca..e704bd4 100644 --- a/v2v/cmdline.ml +++ b/v2v/cmdline.ml @@ -164,57 +164,48 @@ let parse_cmdline () = and o_options = String.concat "|" (Modules_list.output_modules ()) in - let ditto = " -\"-" in let argspec = [ - "-b", Arg.String add_bridge, "in:out " ^ s_"Map bridge 'in' to 'out'"; - "--bridge", Arg.S...
2016 Jul 18
4
[PATCH v2 0/3] mllib: Various fixes and changes to Getopt module.
v1 -> v2: - Further fixes to Getopt int parsing. - Completed the L/S changes. - Fixed the test suite so it passes now. Also we don't need the special-case tests for 64 bit arch. Rich.
2016 Jul 18
3
[PATCH v4 0/2] mllib: Various fixes and changes to Getopt module.
v3 -> v4: - Pushed the first patch upstream since it was ACKed. - Prevent use of M except for the special virt-v2v options. - Sort the options after added --help etc. - Make corresponding fixes to the tests. Rich.
2016 Jul 18
4
[PATCH v3 0/3] mllib: Various fixes and changes to Getopt module.
v2 -> v3: - Add M variant and test it. Rich.