From 43a51c33d7812c7f701dbbd388d3e207ec9545e8 Mon Sep 17 00:00:00 2001 From: Vincent Boutour Date: Fri, 10 Mar 2023 23:34:04 +0100 Subject: [PATCH] docs: Removing only name sanitizing on start Signed-off-by: Vincent Boutour --- README.md | 2 +- pkg/crud/crud.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 91e9e978..57fc7c83 100644 --- a/README.md +++ b/README.md @@ -341,7 +341,7 @@ Usage of fibr: -redisUsername string [redis] Redis Username, if any {FIBR_REDIS_USERNAME} -sanitizeOnStart - [crud] Sanitize name on start {FIBR_SANITIZE_ON_START} + [crud] Sanitize on start {FIBR_SANITIZE_ON_START} -sharePubSubChannel string [share] Channel name {FIBR_SHARE_PUB_SUB_CHANNEL} (default "fibr:shares-channel") -shutdownTimeout duration diff --git a/pkg/crud/crud.go b/pkg/crud/crud.go index 92aca61f..75ab3970 100644 --- a/pkg/crud/crud.go +++ b/pkg/crud/crud.go @@ -67,7 +67,7 @@ type Config struct { func Flags(fs *flag.FlagSet, prefix string) Config { return Config{ - sanitizeOnStart: flags.Bool(fs, prefix, "crud", "SanitizeOnStart", "Sanitize name on start", false, nil), + sanitizeOnStart: flags.Bool(fs, prefix, "crud", "SanitizeOnStart", "Sanitize on start", false, nil), bcryptDuration: flags.String(fs, prefix, "crud", "BcryptDuration", "Wanted bcrypt duration for calculating effective cost", "0.25s", nil), chunkUpload: flags.Bool(fs, prefix, "crud", "ChunkUpload", "Use chunk upload in browser", false, nil),