Accept files & directories for conversion

git-svn-id: file:///srv/svn/repo/kosuzu/trunk@13 eb64cd80-c68d-6f47-b6a3-0ada418499da
This commit is contained in:
fox
2022-07-30 12:58:02 +00:00
parent 1c98321c9c
commit 4da228ae1b
2 changed files with 24 additions and 15 deletions

View File

@@ -20,7 +20,7 @@ let publish ids =
with Unix.Unix_error (Unix.EEXIST, _, _) -> ();
List.iter (fun t ->
Index.((load (snd t)) false None None None None);
Convert.convert_dir (fst t) false (snd t))
Convert.at_path (fst t) false (snd t))
targets
open Cmdliner