From 9e786520c023516deef194ab7f58eca8e9abb85f Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Thu, 17 Feb 2022 16:47:23 +0100 Subject: [PATCH] CLI: Update "photoprism" command description --- cmd/photoprism/photoprism.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/photoprism/photoprism.go b/cmd/photoprism/photoprism.go index b9e229681..5633c620e 100644 --- a/cmd/photoprism/photoprism.go +++ b/cmd/photoprism/photoprism.go @@ -42,12 +42,15 @@ import ( var version = "development" var log = event.Log +const appDescription = "The documentation can be found at https://docs.photoprism.app/. This is free software. " + + "There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + func main() { app := cli.NewApp() app.Name = "PhotoPrism" app.HelpName = filepath.Base(os.Args[0]) app.Usage = "Browse Your Life in Pictures" - app.Description = "For setup instructions and a user guide, visit https://docs.photoprism.app/" + app.Description = appDescription app.Version = version app.Copyright = "(c) 2018-2022 Michael Mayer " app.EnableBashCompletion = true