Embellish docstring
git-svn-id: file:///srv/svn/repo/toyohime/trunk@92 922d331f-388e-da47-97a9-ad700dc0b8b9
This commit is contained in:
parent
3c8aff3310
commit
952a62c7e8
@ -1,5 +1,20 @@
|
||||
/*
|
||||
Runs a barebones vanity server over HTTP.
|
||||
|
||||
Usage
|
||||
|
||||
./vanityserver [-index] fqdn [repo file]
|
||||
|
||||
The "-index" flag enables an index page at "/" that lists all repos hosted on
|
||||
this server.
|
||||
|
||||
If repo file is not given, "./repos" is used. The file has the following format:
|
||||
|
||||
pkgroot vcsScheme://vcsHost/user/repo
|
||||
pkgroot2 vcsScheme://vcsHost/user/repo2
|
||||
|
||||
vcsHost is either a Gogs server (that's what I use) or github.com. I'm open to
|
||||
supporting other VCSs but I'm not sure what that would look like.
|
||||
*/
|
||||
package main // go.jonnrb.io/vanity
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user