fix: help and errors name sharing.key and sharing.keyRules, not share.* (#64)

Co-authored-by: Karl-Einar Bergstrøm <karl-einarb@outlook.com>
This commit was merged in pull request #64.
This commit is contained in:
keb authored and Karl-Einar Bergstrøm committed 2026-10-13 22:57:49 +02:00
1 parent 5cf9ecc0e2
commit 6b3edd45d8
9 files changed
+17 -17

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ func (r Rules) Check(key []byte) error {
if len(has) == 0 {
return nil
}
return fmt.Errorf("its value has %s; share.keyRules needs %s",
return fmt.Errorf("its value has %s; sharing.keyRules needs %s",
strings.Join(has, " and "), strings.Join(needs, " and "))
}