search for: set_prefix

Displaying 16 results from an estimated 16 matches for "set_prefix".

2015 Sep 01
3
[PATCH 1/3] get-kernel: split command line handling in own function
...error (f_"error parsing URI '%s'. Look for error messages printed above.") arg in - file := Some uri - and set_domain dom = - if !domain <> None then - error (f_"--domain option can only be given once"); - domain := Some dom - and set_prefix p = - if !prefix <> None then - error (f_"--prefix option can only be given once"); - prefix := Some p in - - let ditto = " -\"-" in - let argspec = [ - "-a", Arg.String set_file, s_"file" ^ " " ^...
2015 Jun 12
1
[PATCH 3/3] get-kernel: add --prefix
...None in let set_file arg = if !file <> None then @@ -45,7 +46,11 @@ let main () = and set_domain dom = if !domain <> None then error (f_"--domain option can only be given once"); - domain := Some dom in + domain := Some dom + and set_prefix p = + if !prefix <> None then + error (f_"--prefix option can only be given once"); + prefix := Some p in let ditto = " -\"-" in let argspec = Arg.align [ @@ -63,6 +68,7 @@ let main () = "--output", Arg.Set_string output,...
2020 Feb 17
1
[PATCH] virt-get-kernel: add '--blocksize' option support
...string (s_"directory", output), s_"Output directory"; - [ L"unversioned-names" ], Getopt.Set unversioned, - s_"Use unversioned names for files"; - [ L"prefix" ], Getopt.String (s_"prefix", set_prefix), s_"Prefix for files"; + [ S 'a'; L"add" ], Getopt.String (s_"file", set_file), s_"Add disk image file"; + [ L"blocksize" ], Getopt.Set_int ("512|4096", blocksize), s_"Set disk sector size"; + [ S 'c...
2019 Apr 09
3
decrypt.rb
>> I've tried specifying an output file as well, per the script's command line options, >> but the output file is 0 bytes.? Does anyone have any suggestions?? I *think* I'm >> using it the way it's intended to be used, but maybe I'm not?! >> -Dave > > Hi! > Maybe the key you tried was not used to encrypt the file? > Aki Aki,
2020 Feb 13
1
[nbdkit PATCH v3] vddk: Drive library loading from libdir parameter.
...y in case multiple exist. */ + "lib64/libvixDiskLib.so.6", "libvixDiskLib.so.6", + "lib64/libvixDiskLib.so.5", "libvixDiskLib.so.5", }; size_t i; CLEANUP_FREE char *orig_error = NULL; + Lmid_t id; + nbdkit_set_dlopen_prefix_function set_prefix; + + /* The main namespace already has a resolved dlopen() symbol (or + * this plugin wouldn't be running), and it's too late to change + * LD_LIBRARY_PATH. However, we can use dlmopen() to create a new + * namespace, where we first load our shim library. Then all + * subsequent...
2008 Mar 03
0
Overriding ActionController method in an app
...ource.class_eval do attr_reader :path_segment def initialize(entities, options) @plural ||= entities @singular ||= options[:singular] || plural.to_s.singularize @path_segment = options.delete(:as) || @plural @options = options arrange_actions add_default_actions set_prefixes end def path @path ||= "#{path_prefix}/#{path_segment}" end end but it doesn''t work. and, actually, no matter how hard i try (using this or other code) i can''t seem to override the path method, even to just cause it return bogus info. help! TIA --~--~---...
2015 Jun 11
2
[PATCH] (Almost) new tool: virt-get-kernel
Extract the guest kernel/ramdisk extraction from virt-builder into a separate utility, so it can be used and improved without cluttering virt-builder. Currently it does what virt-builder --get-kernel did, adding also the options for remote disks and libvirt access, much like other libguestfs tools. virt-builder --get-kernel now just spawns virt-get-kernel. --- .gitignore |
2016 Jul 18
0
[PATCH v2 2/3] mllib: Use L"..." and S '...' for long and short options.
...tring (s_"directory", output), s_"Output directory"; + [ L"unversioned-names" ], Getopt.Set unversioned, s_"Use unversioned names for files"; - [ "--prefix" ], Getopt.String (s_"prefix", set_prefix), s_"Prefix for files"; + [ L"prefix" ], Getopt.String (s_"prefix", set_prefix), s_"Prefix for files"; ] in let usage_msg = sprintf (f_"\ diff --git a/mllib/common_utils.ml b/mllib/common_utils.ml index 3bbfa46..e7ee84a 100644 --...
2015 Aug 31
2
[PATCH 1/2] mllib: add and use set_standard_options
...Output directory"; "--output", Arg.Set_string output, ditto; "--unversioned-names", Arg.Set unversioned, " " ^ s_"Use unversioned names for files"; "--prefix", Arg.String set_prefix, "prefix" ^ " " ^ s_"Prefix for files"; - "-v", Arg.Unit set_verbose, " " ^ s_"Enable debugging messages"; - "--verbose", Arg.Unit set_verbose, ditto; - "-V", Arg.Unit print_ve...
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.
2016 Jun 27
0
Re: [PATCH] RFC: OCaml tools: add and use a Getopt module
...tory"; > - "--output", Arg.Set_string output, ditto; > - "--unversioned-names", Arg.Set unversioned, > - " " ^ s_"Use unversioned names for files"; > - "--prefix", Arg.String set_prefix, "prefix" ^ " " ^ s_"Prefix for files"; > + [ "-a"; "--add" ], Getopt.String (s_"file", set_file), s_"Add disk image file"; > + [ "-c"; "--connect" ], Getopt.Set_string (s_...
2016 Jun 24
2
[PATCH] RFC: OCaml tools: add and use a Getopt module
...s_"Output directory"; - "--output", Arg.Set_string output, ditto; - "--unversioned-names", Arg.Set unversioned, - " " ^ s_"Use unversioned names for files"; - "--prefix", Arg.String set_prefix, "prefix" ^ " " ^ s_"Prefix for files"; + [ "-a"; "--add" ], Getopt.String (s_"file", set_file), s_"Add disk image file"; + [ "-c"; "--connect" ], Getopt.Set_string (s_"uri&...
2016 Jul 11
2
[PATCH v2] OCaml tools: add and use a Getopt module
...s_"Output directory"; - "--output", Arg.Set_string output, ditto; - "--unversioned-names", Arg.Set unversioned, - " " ^ s_"Use unversioned names for files"; - "--prefix", Arg.String set_prefix, "prefix" ^ " " ^ s_"Prefix for files"; + [ "-a"; "--add" ], Getopt.String (s_"file", set_file), s_"Add disk image file"; + [ "-c"; "--connect" ], Getopt.Set_string (s_"uri&...
2016 Jul 13
3
[PATCH v3 1/2] OCaml tools: add and use a Getopt module
...s_"Output directory"; - "--output", Arg.Set_string output, ditto; - "--unversioned-names", Arg.Set unversioned, - " " ^ s_"Use unversioned names for files"; - "--prefix", Arg.String set_prefix, "prefix" ^ " " ^ s_"Prefix for files"; + [ "-a"; "--add" ], Getopt.String (s_"file", set_file), s_"Add disk image file"; + [ "-c"; "--connect" ], Getopt.Set_string (s_"uri&...