]> Cypherpunks.ru repositories - gocheese.git/blobdiff - usage.go
More convenient trusted-host
[gocheese.git] / usage.go
index 351a2b73a8127df7f8a146e416d04aa22d7a188a..7fbedb20ee54dd6fcf9531d02571881dc6964102 100644 (file)
--- a/usage.go
+++ b/usage.go
@@ -1,19 +1,17 @@
-/*
-GoCheese -- Python private package repository and caching proxy
-Copyright (C) 2019-2023 Sergey Matveev <stargrave@stargrave.org>
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, version 3 of the License.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program.  If not, see <http://www.gnu.org/licenses/>.
-*/
+// GoCheese -- Python private package repository and caching proxy
+// Copyright (C) 2019-2024 Sergey Matveev <stargrave@stargrave.org>
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, version 3 of the License.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 package main
 
@@ -71,6 +69,7 @@ Password management:
   -passwd PATH      -- Path to readable FIFO for loading passwords
   -passwd-list PATH -- Path to writeable FIFO for listing logins
   -passwd-check     -- Verify passwords format from stdin, then exit
+  -auth-required    -- Require authorisation even for read-only endpoints
 
 Other options:
   -log-timestamped -- Prepend timestamp to log messages