mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 07:33:21 +00:00
Add --version flag to print version and exit.
This commit is contained in:
parent
a6961e877b
commit
cbafb98113
3 changed files with 11 additions and 1 deletions
1
mux.go
1
mux.go
|
@ -25,6 +25,7 @@ var Config = struct {
|
|||
PrivateRepos bool
|
||||
Prometheus bool
|
||||
Debug bool
|
||||
Version bool
|
||||
}{
|
||||
Path: "/tmp/restic",
|
||||
Listen: ":8000",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue