5416: Add BasicAuth compatibility shim for go1.3.
[arvados.git] / services / arv-git-httpd / doc.go
index 21e8e484aca27b7b6f7e2b26eb3204eb51448318..713b018a4630779cd82c7297b69d43ae9f375019 100644 (file)
@@ -3,5 +3,27 @@ arv-git-httpd provides authenticated access to Arvados-hosted git repositories.
 
 Example:
        arv-git-httpd -address=:8000 -repo-root=/var/lib/arvados/git
+
+Options:
+
+       -address [host]:[port]
+
+               Listen at the given host and port. Each can be a name,
+               a number, or empty.
+
+       -repo-root path
+
+               Directory containing git repositories. When a client
+               requests either "foo/bar.git" or "foo/bar/.git",
+               git-http-backend will be invoked on "path/foo/bar.git"
+               or (if that doesn't exist) "path/foo/bar/.git".
+
+       -git-command path
+
+               Location of the CGI program to execute for each
+               authorized request (normally this is git). It is
+               invoked with a single argument, 'http-backend'.
+               Default is /usr/bin/git.
+
 */
 package main