aboutsummaryrefslogtreecommitdiff
path: root/cmd/fscrypt/commands.go
diff options
context:
space:
mode:
authorGibeom Gwon <gb.gwon@stackframe.dev>2021-04-27 19:49:01 +0900
committerEric Biggers <ebiggers3@gmail.com>2021-04-27 12:16:36 -0700
commit79795229bba45f6f58b8e0496a9a9e098f1c22aa (patch)
tree5fa2458449eb0eb45a76e4d9ca37f87c6258f642 /cmd/fscrypt/commands.go
parentdb79840bc68f803c23477e7c093e3cff2a7633ba (diff)
cmd/fscrypt: fix word mismatch "protector" => "policy"
Fix word mismatch in usage and description of metadata create policy command.
Diffstat (limited to 'cmd/fscrypt/commands.go')
-rw-r--r--cmd/fscrypt/commands.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/fscrypt/commands.go b/cmd/fscrypt/commands.go
index e6c8ecc..6a25fda 100644
--- a/cmd/fscrypt/commands.go
+++ b/cmd/fscrypt/commands.go
@@ -804,8 +804,8 @@ func createProtectorAction(c *cli.Context) error {
var createPolicy = cli.Command{
Name: "policy",
ArgsUsage: fmt.Sprintf("%s %s", mountpointArg, shortDisplay(protectorFlag)),
- Usage: "create a new protector on a filesystem",
- Description: fmt.Sprintf(`This command creates a new protector on %s
+ Usage: "create a new policy on a filesystem",
+ Description: fmt.Sprintf(`This command creates a new policy on %s
that has not (yet) been applied to any directory. After
creation, the user can use %s with "fscrypt encrypt" to encrypt
a directory with this new policy. As all policies must be