[#631] lens: Fix db type flag name
All checks were successful
DCO action / DCO (pull_request) Successful in 3m30s
Build / Build Components (1.21) (pull_request) Successful in 5m53s
Build / Build Components (1.20) (pull_request) Successful in 6m3s
Vulncheck / Vulncheck (pull_request) Successful in 5m26s
Tests and linters / Tests (1.20) (pull_request) Successful in 6m59s
Tests and linters / Staticcheck (pull_request) Successful in 6m57s
Tests and linters / Tests (1.21) (pull_request) Successful in 7m10s
Tests and linters / Lint (pull_request) Successful in 7m33s
Tests and linters / Tests with -race (pull_request) Successful in 8m50s

Typo from 1a0cb0f34a.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2023-08-21 20:06:15 +03:00
parent 62c2ad4b22
commit 0a5c323eed

View file

@ -37,6 +37,6 @@ func AddOutputFileFlag(cmd *cobra.Command, v *string) {
// AddDBTypeFlag adds the DB type flag to the passed cobra command.
func AddDBTypeFlag(cmd *cobra.Command, v *string) {
cmd.Flags().StringVar(v, flagOutFile, "bbolt",
cmd.Flags().StringVar(v, flagDBType, "bbolt",
"Type of DB used by write cache (default: bbolt)")
}