diff options
| author | Eric Biggers <ebiggers@google.com> | 2022-04-08 16:15:22 -0700 |
|---|---|---|
| committer | Joe Richey <joerichey@google.com> | 2022-04-08 16:25:01 -0700 |
| commit | 1f4543a97a862c4caf17eb69e0a21eb2ebb7de18 (patch) | |
| tree | 261fcd03e543ed89bb8330244e32af919f4268a8 /cmd/fscrypt/flags.go | |
| parent | 896549fa52002a65436625ad4fd7743b444f1135 (diff) | |
Remove unnecessary uses of fmt.Sprintf()
The latest version of 'staticcheck' warns about these.
Diffstat (limited to 'cmd/fscrypt/flags.go')
| -rw-r--r-- | cmd/fscrypt/flags.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/fscrypt/flags.go b/cmd/fscrypt/flags.go index 1b41839..7285133 100644 --- a/cmd/fscrypt/flags.go +++ b/cmd/fscrypt/flags.go @@ -144,10 +144,10 @@ var ( } forceFlag = &boolFlag{ Name: "force", - Usage: fmt.Sprintf(`Suppresses all confirmation prompts and - warnings, causing any action to automatically proceed. - WARNING: This bypasses confirmations for protective - operations, use with care.`), + Usage: `Suppresses all confirmation prompts and warnings, + causing any action to automatically proceed. WARNING: + This bypasses confirmations for protective operations, + use with care.`, } skipUnlockFlag = &boolFlag{ Name: "skip-unlock", |