aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/fscrypt/errors.go4
-rw-r--r--cmd/fscrypt/flags.go8
2 files changed, 6 insertions, 6 deletions
diff --git a/cmd/fscrypt/errors.go b/cmd/fscrypt/errors.go
index 2d76792..1e9c39a 100644
--- a/cmd/fscrypt/errors.go
+++ b/cmd/fscrypt/errors.go
@@ -71,8 +71,8 @@ type ErrDirFilesOpen struct {
}
func (err *ErrDirFilesOpen) Error() string {
- return fmt.Sprintf(`Directory was incompletely locked because some files
- are still open. These files remain accessible.`)
+ return `Directory was incompletely locked because some files are still
+ open. These files remain accessible.`
}
// ErrDirUnlockedByOtherUsers indicates that a directory can't be locked because
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",