diff --git a/cmd/fscrypt/errors.go b/cmd/fscrypt/errors.go index c4814f47..e4da8846 100644 --- a/cmd/fscrypt/errors.go +++ b/cmd/fscrypt/errors.go @@ -272,7 +272,8 @@ func getErrorSuggestions(err error) string { return fmt.Sprintf("If desired, use %s to automatically run destructive operations.", shortDisplay(forceFlag)) case ErrSpecifyProtector: - return fmt.Sprintf("Use %s to specify a protector.", shortDisplay(protectorFlag)) + return fmt.Sprintf("Use %s or %s to specify a protector.", + shortDisplay(protectorFlag), shortDisplay(unlockWithFlag)) case ErrSpecifyKeyFile: return fmt.Sprintf("Use %s to specify a key file.", shortDisplay(keyFileFlag)) case ErrDropCachesPerm: