Skip to content

Commit

Permalink
CLI: Update thumb flag short names photoprism#2195
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
  • Loading branch information
lastzero committed Apr 9, 2022
1 parent d9cc0c5 commit 9085f72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/config/config_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,19 +485,19 @@ var GlobalFlags = []cli.Flag{
EnvVar: "PHOTOPRISM_THUMB_FILTER",
},
cli.IntFlag{
Name: "thumb-size, ts",
Name: "thumb-size",
Usage: "maximum size of thumbnails created during indexing in `PIXELS` (720-7680)",
Value: 2048,
EnvVar: "PHOTOPRISM_THUMB_SIZE",
},
cli.IntFlag{
Name: "thumb-size-uncached, tx",
Name: "thumb-size-uncached",
Usage: "maximum size of missing thumbnails created on demand in `PIXELS` (720-7680)",
Value: 7680,
EnvVar: "PHOTOPRISM_THUMB_SIZE_UNCACHED",
},
cli.BoolFlag{
Name: "thumb-uncached, x",
Name: "thumb-uncached, u",
Usage: "enable on-demand creation of missing thumbnails (high memory and cpu usage)",
EnvVar: "PHOTOPRISM_THUMB_UNCACHED",
},
Expand Down

0 comments on commit 9085f72

Please sign in to comment.