From 60bbf40bfc8b720f176faef55b5403986db86f8c Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 26 Sep 2021 15:18:44 +0300 Subject: [PATCH] Refactor -help, remove -root --- README | 2 +- doc/ucspi.texi | 2 +- fileutils.go | 2 +- hr.go | 4 +-- integrity.go | 12 +++---- json.go | 2 +- list.go | 6 ++-- main.go | 68 +++++++++++++++++------------------- refresh.go | 4 +-- upload.go | 2 +- usage.go | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++ 11 files changed, 144 insertions(+), 54 deletions(-) create mode 100644 usage.go diff --git a/README b/README index bd87b59..16122c9 100644 --- a/README +++ b/README @@ -1,2 +1,2 @@ GoCheese is Python private package repository and caching proxy. -See gocheese.{info,texi} and INSTALL for more documentation. +See doc/gocheese.info and INSTALL for more documentation. diff --git a/doc/ucspi.texi b/doc/ucspi.texi index 45d8fe3..0927113 100644 --- a/doc/ucspi.texi +++ b/doc/ucspi.texi @@ -17,7 +17,7 @@ umask 077 umask 022 mkdir -p packages exec setuidgid gocheese tcpserver -DRH -l 0 ::0 8080 \ - gocheese -ucspi -passwd passwd + gocheese -ucspi -passwd passwd /path/to/packages EOF # cat > log/run < - {{.Version}}: human readable listing + {{.Version}}: packages