search for: print_cach

Displaying 6 results from an estimated 6 matches for "print_cach".

Did you mean: print_cache
2015 May 15
1
[PATCH] builder: Remove a few unnecessary 'virt-builder' strings from error messages.
...#39;--list' to list available template names.") | _ -> - error (f_"virt-builder: too many parameters, expecting 'os-version'"); + error (f_"--notes: too many parameters, expecting 'os-version'"); ) | `Cache_all | `Print_cache @@ -254,7 +254,7 @@ read the man page virt-builder(1). (match args with | [] -> "" | _ -> - error (f_"virt-builder --cache-all-templates/--print-cache/--delete-cache does not need any extra arguments") + error (f_"--cache-all-templa...
2015 Nov 11
0
[PATCH] builder: Make the interface between cmdline.ml and builder.ml explicit.
...ource @@ -192,7 +189,7 @@ let main () = let mode = match mode with | `List -> (* --list *) - List_entries.list_entries ~list_format ~sources index; + List_entries.list_entries ~list_format:cmdline.list_format ~sources index; exit 0 | `Print_cache -> (* --print-cache *) @@ -220,7 +217,7 @@ let main () = fun (name, { Index.revision = revision; file_uri = file_uri; proxy = proxy }) -> - let template = name, arch, revision in + let template = name, cmdli...
2014 Mar 10
2
[PATCH] builder: complete architecture handling
...let progress_bar = not quiet in Downloader.download ~prog downloader ~template ~progress_bar file_uri in diff --git a/builder/cmdline.ml b/builder/cmdline.ml index 6e8bfd8..0dd0ad2 100644 --- a/builder/cmdline.ml +++ b/builder/cmdline.ml @@ -44,6 +44,9 @@ let parse_cmdline () = let print_cache_mode () = mode := `Print_cache in let delete_cache_mode () = mode := `Delete_cache in + let arch = ref "" in + let allow_foreign_arch_ops = ref false in + let attach = ref [] in let attach_format = ref None in let set_attach_format = function @@ -221,6 +224,9 @@ let parse...
2014 Mar 11
4
Re: [PATCH] builder: complete architecture handling
...users input the exact architecture they need. > > diff --git a/builder/cmdline.ml b/builder/cmdline.ml > > index 6e8bfd8..0dd0ad2 100644 > > --- a/builder/cmdline.ml > > +++ b/builder/cmdline.ml > > @@ -44,6 +44,9 @@ let parse_cmdline () = > > > > let print_cache_mode () = mode := `Print_cache in > > let delete_cache_mode () = mode := `Delete_cache in > > > > + let arch = ref "" in > > + let allow_foreign_arch_ops = ref false in > > Can't we detect allow_foreign_arch_ops automatically? > > For norma...
2014 Jan 16
5
[PATCH 0/3] Add JSON output for virt-builder
Hi, This small patch serie adds a JSON output for virt-builder. This way it is possible to parse the list of available templates, with no need to parse the unstructured and possibly changing short and long outputs of virt-builder. Pino Toscano (3): builder: small refactor of the list output builder: add --list-format builder: add a JSON output for --list builder/builder.ml
2017 Apr 04
1
[PATCH] Use Unicode single quotes ‘’ in place of short single quoted strings throughout.
...g ‘os-version’. Use ‘--list’ to list available template names.") | _ -> - error (f_"--notes: too many parameters, expecting 'os-version'"); + error (f_"--notes: too many parameters, expecting ‘os-version’"); ) | `Cache_all | `Print_cache @@ -264,7 +264,7 @@ read the man page virt-builder(1). (match args with | [arg] -> arg | [] -> - error (f_"virt-builder --get-kernel image\nMissing 'image' (disk image file) argument") + error (f_"virt-builder --get-kernel image\nMiss...