CLI: Add -a alias for --admin-password #2195

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2022-04-07 01:23:15 +02:00
parent bda4dbabfa
commit b9ab3befe5

View file

@ -12,7 +12,7 @@ import (
// GlobalFlags describes global command-line parameters and flags.
var GlobalFlags = []cli.Flag{
cli.StringFlag{
Name: "admin-password",
Name: "admin-password, a",
Usage: "initial admin `PASSWORD`, minimum 4 characters",
EnvVar: "PHOTOPRISM_ADMIN_PASSWORD",
},