Skip to content

Commit

Permalink
Update server/embed/config.go
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Wang <[email protected]>
  • Loading branch information
siyuanfoundation and ahrtr authored Dec 16, 2024
1 parent 13fd569 commit 93adf82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/embed/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ func (cfg *Config) Validate() error {
// TODO: delete in v3.7
for oldFlag, newFlag := range experimentalNonBoolFlagMigrationMap {
if cfg.FlagsExplicitlySet[oldFlag] && cfg.FlagsExplicitlySet[newFlag] {
return fmt.Errorf("cannot set %s and %s at the same time in the config file, please use %s only", oldFlag, newFlag, newFlag)
return fmt.Errorf("cannot set --%s and --%s at the same time, please use --%s only", oldFlag, newFlag, newFlag)
}
}

Expand Down

0 comments on commit 93adf82

Please sign in to comment.