Skip to content

Commit 7ad5c07

Browse files
authored
Merge pull request #2 from ndavd/feat/improve-language-consistency
feat(v1.1.1): improve language consistency
2 parents de7985e + e5b3b5c commit 7ad5c07

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ $ go install github.com/ndavd/agevault@latest
3535

3636
```
3737
lock/unlock directory with passphrase-protected identity file
38-
usage: agevault [vault-name] lock|unlock|keygen
38+
usage: agevault [directory-name] lock|unlock|keygen
3939
```
4040

4141
Securing `my-vault/`:

main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ import (
1515
)
1616

1717
func Version() string {
18-
return "v1.1.0"
18+
return "v1.1.1"
1919
}
2020

2121
func Usage() {
2222
fmt.Printf("agevault %s", Version())
2323
fmt.Println()
2424
fmt.Println("lock/unlock directory with passphrase-protected identity file")
25-
fmt.Println("usage: agevault [vault-name] lock|unlock|keygen")
25+
fmt.Println("usage: agevault [directory-name] lock|unlock|keygen")
2626
os.Exit(0)
2727
}
2828

@@ -186,7 +186,7 @@ func main() {
186186
if err != nil {
187187
errMsg(err)
188188
}
189-
fmt.Printf("%s SECURED with %s\n", vaultName, recipientString)
189+
fmt.Printf("%s LOCKED with %s\n", vaultName, recipientString)
190190
return
191191
}
192192

@@ -195,7 +195,7 @@ func main() {
195195
if err != nil {
196196
errMsg(err)
197197
}
198-
fmt.Printf("%s DECRYPTED\n", vaultName)
198+
fmt.Printf("%s UNLOCKED\n", vaultName)
199199
return
200200
}
201201

0 commit comments

Comments
 (0)