Skip to content

Commit

Permalink
service: Fix cmd encrypt/sign out usage
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel committed Jul 31, 2020
1 parent e188059 commit 27825c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion service/cmd_encrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func encryptCommands(client *Client) []cli.Command {
cli.StringFlag{Name: "sender, signer, s", Usage: "signer (or anonymous if not specified)"},
cli.BoolFlag{Name: "armor, a", Usage: "armored"},
cli.StringFlag{Name: "in, i", Usage: "file to read"},
cli.StringFlag{Name: "out, o", Usage: "file to write (defaults to {in}.enc"},
cli.StringFlag{Name: "out, o", Usage: "file to write, defaults to <in>.enc"},
cli.StringFlag{Name: "mode, m", Usage: "encryption mode: encrypt (default) or signcrypt"},
},
Action: func(c *cli.Context) error {
Expand Down
2 changes: 1 addition & 1 deletion service/cmd_sign.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func signCommands(client *Client) []cli.Command {
Flags: []cli.Flag{
cli.StringFlag{Name: "signer, s", Usage: "signer"},
cli.StringFlag{Name: "in, i", Usage: "file to read"},
cli.StringFlag{Name: "out, o", Usage: "file to write, defaults to {in}.sig (detached) or {in}.signed (attached)"},
cli.StringFlag{Name: "out, o", Usage: "file to write, defaults to <in>.sig (detached) or <in>.signed (attached)"},

cli.BoolFlag{Name: "attached, t", Usage: "output attached signature (.signed)"},
cli.BoolFlag{Name: "detached, d", Usage: "output detached signature (.sig)"},
Expand Down

0 comments on commit 27825c8

Please sign in to comment.