| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | (** {6 Prints the version number on the standard output. } *) |
| 12 | |
| 13 | val version : unit -> unit |
| 14 | val machine_readable_version : unit -> unit |
| 15 | |
| 16 | (** {6 extra arguments or options to print when asking usage for a |
| 17 | given executable. } *) |
| 18 | |
| 19 | type specific_usage = { |
| 20 | executable_name : string; |
| 21 | extra_args : string; |
| 22 | extra_options : string; |
| 23 | } |
| 24 | |
| 25 | (** {6 Prints the generic part and specific part of usage for a |
| 26 | given executable. } *) |
| 27 | |
| 28 | val print_usage : out_channel -> specific_usage -> unit |
| 29 | |
| 30 | type query = |
| 31 | | PrintWhere | PrintConfig |
| 32 | | PrintVersion | PrintMachineReadableVersion |
| 33 | | PrintHelp |