]> Cypherpunks.ru repositories - gocheese.git/blobdiff - gocheese.go
Fix pyshop2packages.sh path
[gocheese.git] / gocheese.go
index 905856df61fc53a15c7bb1993b2b988947909825..fa12d1826df911354147c04affae276fbcf19244 100644 (file)
@@ -43,6 +43,7 @@ import (
 )
 
 const (
+       Version   = "2.4.1"
        HTMLBegin = `<!DOCTYPE html>
 <html>
   <head>
@@ -93,12 +94,11 @@ var (
        pypiURL          = flag.String("pypi", "https://pypi.org/simple/", "Upstream PyPI URL")
        passwdPath       = flag.String("passwd", "passwd", "Path to file with authenticators")
        passwdCheck      = flag.Bool("passwd-check", false, "Test the -passwd file for syntax errors and exit")
-       fsck             = flag.Bool("fsck", false, "Check integrity of all packages")
+       fsck             = flag.Bool("fsck", false, "Check integrity of all packages (errors are in stderr)")
        maxClients       = flag.Int("maxclients", 128, "Maximal amount of simultaneous clients")
        version          = flag.Bool("version", false, "Print version information")
        warranty         = flag.Bool("warranty", false, "Print warranty information")
 
-       Version       string = "UNKNOWN"
        killed        bool
        pypiURLParsed *url.URL
 )