table could not be found at all.
*)
-val start : Arg.usage_msg -> bool * image list
- (** Programs call this to parse the standard command-line arguments
- and do all the standard processing of domains into images.
-
- The returned tuple is:
- - verbose mode
- - list of images
+val register : string -> string -> Arg.usage_msg -> bool -> (bool -> image list -> unit) -> unit
+ (** Tools register themselves with this call.
+
+ The parameters are:
+ - tool name (eg. "uname")
+ - short summary
+ - full usage message
+ - is it a virt-cmd?
+ - run function (invoked as [run verbose images])
*)
+
+val main : unit -> unit
+ (** Entry point for the combined virt-mem executable. *)