X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=src%2Foptions.ml;h=73077943f6b0a0bffcad5243b9bd76fdd6cc8620;hb=13a15353a161600575ff4b70eda2c7a0f024d969;hp=babad16e9603b557200773183860499658adcff0;hpb=107df590ff69de765445e22caffd416ef13288d3;p=SXSI%2Fxpathcomp.git diff --git a/src/options.ml b/src/options.ml index babad16..7307794 100644 --- a/src/options.ml +++ b/src/options.ml @@ -1,4 +1,3 @@ -open Utils open Format open Config @@ -22,13 +21,13 @@ let set_logger s = List.iter (fun t -> if t = "" then () else - match String.explode t ':' with + match Utils.String.explode t ':' with [ tr; lvl ] -> let l = try int_of_string lvl with _ -> raise (Arg.Bad (lvl)) in if Logger.is_logger tr then Logger.activate tr l else raise (Arg.Bad (t)) | _ -> raise (Arg.Bad (t)) - ) (String.explode s ',') + ) (Utils.String.explode s ',') let pretty_loggers () = ignore(flush_str_formatter());