UX: Improve "disable-tensorflow" flag description
This commit is contained in:
parent
85dfb4bc11
commit
5f0336d0f7
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ func (c *Config) DisableExifTool() bool {
|
|||
return c.options.DisableExifTool
|
||||
}
|
||||
|
||||
// DisableTensorFlow tests if all features that require TensorFlow should be disabled.
|
||||
// DisableTensorFlow tests if all features depending on TensorFlow should be disabled.
|
||||
func (c *Config) DisableTensorFlow() bool {
|
||||
if LowMem && !c.options.DisableTensorFlow {
|
||||
c.options.DisableTensorFlow = true
|
||||
|
|
|
@ -180,7 +180,7 @@ var GlobalFlags = []cli.Flag{
|
|||
},
|
||||
cli.BoolFlag{
|
||||
Name: "disable-tensorflow",
|
||||
Usage: "disables all features that require TensorFlow",
|
||||
Usage: "disables all features depending on TensorFlow",
|
||||
EnvVar: "PHOTOPRISM_DISABLE_TENSORFLOW",
|
||||
},
|
||||
cli.BoolFlag{
|
||||
|
|
Loading…
Reference in a new issue