Skip to content

Commit 592fd53

Browse files
committed
Fix review comments.
1 parent 9bbb919 commit 592fd53

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

command/base64/base64.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func init() {
1717
cmd := cli.Command{
1818
Name: "base64",
1919
Action: command.ActionFunc(base64Action),
20-
Usage: "encodes and decodes b64 data.",
20+
Usage: "encodes and decodes using base64 representation",
2121
UsageText: `**step base64** [**-d**|**--decode**] [**-r**|**--raw**] [**-u**|**--url**]`,
2222
Description: `**step base64** implements base64 encoding as specified by RFC 4648.
2323
@@ -51,7 +51,9 @@ $ echo 'abc123$%^&*()_+-=~' | step base64 -u
5151
YWJjMTIzJCVeJiooKV8rLT1-Cg==
5252
'''
5353
54-
Decode an url encoded base64 string:
54+
Decode an url encoded base64 string. The encoding type can be enforced
55+
using the '-u' or '-r' flags, but it will be autodetected if they are not
56+
passed:
5557
'''
5658
$ echo YWJjMTIzJCVeJiooKV8rLT1-Cg== | step base64 -d
5759
abc123$%^&*()_+-=~

0 commit comments

Comments
 (0)