X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fhttp_getter%2Fhttp_getter_const.ml;h=765d446aa9460e07e6632a8ed07d242aa4ab489b;hb=6f6b8f33397548319fef9b374f9e9017e7fa151d;hp=93c2d5d6a8237fa5fedaece08f7bcfcf2f323407;hpb=86e80bc65186bf4c2824dc94f5f4dd5966843f14;p=helm.git diff --git a/helm/http_getter/http_getter_const.ml b/helm/http_getter/http_getter_const.ml index 93c2d5d6a..765d446aa 100644 --- a/helm/http_getter/http_getter_const.ml +++ b/helm/http_getter/http_getter_const.ml @@ -1,5 +1,7 @@ (* - * Copyright (C) 2000, HELM Team. + * Copyright (C) 2003: + * Stefano Zacchiroli + * for the HELM Team http://helm.cs.unibo.it/ * * This file is part of HELM, an Hypertextual, Electronic * Library of Mathematics, developed at the Computer Science @@ -21,17 +23,25 @@ * MA 02111-1307, USA. * * For details, see the HELM World-Wide-Web page, - * http://cs.unibo.it/helm/. + * http://helm.cs.unibo.it/ *) - (* TODO *) -let usage_string = +open Printf;; + +let version = "0.2.1" +let conffile = "http_getter.conf.xml" + + (* TODO provide a better usage string *) +let usage_string configuration = + sprintf " HTTP Getter's help message +

HTTP Getter, version %s

+

Usage information

Usage: http://hostname:getterport/command

@@ -72,9 +82,12 @@ let usage_string =

getempty

+

Current configuration

+
%s
" + version configuration let empty_xml = "